[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Example code for libgps using shared memory

From: Michael J. Tubby B.Sc. MIET
Subject: Re: [gpsd-dev] Example code for libgps using shared memory
Date: Thu, 16 Nov 2017 08:44:02 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 11/16/2017 3:05 AM, David Huichen Dai wrote:

On Thu, Nov 16, 2017 at 5:42 AM, Fred Wright <address@hidden> wrote:

On Thu, 9 Nov 2017, David Huichen Dai wrote:

> And I would like to report that after installation, the path to the library
> (/usr/local/lib) will not be added to the environmental
> variable automatically.
> After I add the path to LD_LIBRARY_PATH manually, the code using the shared
> memory method works properly.

Anything that requires setting
LD_LIBRARY_PATH is broken.  Did you rerun
ldconfig after the install?
​--No, I didn't. I just added the path to the ​LD_LIBRARY_PATH, and ran the code in a new terminal. 
I was in a hurry to make the code work, and the first thing occurred into my mind was to use the 

​If ​LD_LIBRARY_PATH shouldn't be used in normal circumstances *at all*, how could I use the libgps?


On my VR2200 Ubuntu 14.04 based ARM box I edited /etc/ and added:

    include /etc/*.conf

and then did an 'ldconfig' ... worked for me but YMMV


Fred Wright

David Huichen Dai, PhD
Research assistant
Lab of Broadband Network Switching Technology and Communication
Dept. of Computer Science and Technology
Tsinghua University, Beijing, P.R. China, 100084
Tel: 86-010-6277-3441
Email: address@hidden; address@hidden


Michael J Tubby B.Sc MIET / Technical Director / +44 (0)7973 225144

Thorcom Systems Ltd
Office: +44 (0)1905 756 700 / Fax: +44 (0)1905 755 777
Unit 4, 96B Blackpole Trading Estate West, Worcester, WR3 8TJ Registered in England & Wales 2704696 / VAT number GB 487 9256 81

reply via email to

[Prev in Thread] Current Thread [Next in Thread]