Cannot find libfreespace.so.0 with non default install paths

Bug #403254 reported by Chris Conroy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libfreespace-examples
New
Undecided
Unassigned

Bug Description

Something is wrong with the libfreespace-examples build process

Steps to reproduce:

configure libfreespace with --prefix=$HOME/libfreespace (or any non default path)
configure libfreespace-examples similarly, and point it at libfreespace

e.g.
./configure --prefix=/home/cconroy/libfreespace/ CPPFLAGS=-I"/home/cconroy/libfreespace/include/" LDFLAGS=-I"/home/cconroy/libfreespace/lib/"

The resulting binary doesn't look in the right path for libfreespace.so:

cconroy@conroy-linux:~/libfreespace/bin$ ldd discovery_example
 linux-vdso.so.1 => (0x00007fffc7dff000)
 libfreespace.so.0 => not found
 libc.so.6 => /lib/libc.so.6 (0x00007fc2bf6c3000)
 /lib64/ld-linux-x86-64.so.2 (0x00007fc2bfa35000)

Revision history for this message
Frank Hunleth (fhunleth) wrote :

I assume that you don't have your LD_LIBRARY_PATH set to the install location?

Revision history for this message
Chris Conroy (chrisconroy) wrote :

Nope. Though setting the LD_LIBRARY_PATH is a workaround (not a fix) for this bug.

Revision history for this message
Chris Conroy (chrisconroy) wrote :

Ideally our resident autoconf master (hi JT!) can solve this via a 'with-libfreespace=/path/to/libfreespace' option.. I believe that's the standard way of handling this sort of thing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.