[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: David Huichen Dai
Subject: Re: [gpsd-dev] Example code for libgps using shared memory
Date: Thu, 16 Nov 2017 11:05:20 +0800

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?


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

reply via email to

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