Library path problem

"Raghavendra Prasad" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I use the following ldflags in ./configuration step,

'--with-ldflags=-L/data/projects/cdspr/sw/app/snmp/common
-L/data/projects/cdspr/sw/app/snmp/isl/elib
-L/data/projects/cdspr/sw/app/snmp/isl/tos/linux/x86 -lTOS  -lelib
-lcommon'

where libraries libTOS.so, libelib.so and libcommon.so are present in
the paths /data/projects/cdspr/sw/app/snmp/isl/tos/linux/x86,
/data/projects/cdspr/sw/app/snmp/isl/elib,
/data/projects/cdspr/sw/app/snmp/isl/tos/linux/x86  respectively

The configure step fails and in the config.log it compalins that these
libraries are not found, but when I set the environment variable as
below

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/projects/cdspr/sw/app/snmp/common:/data/projects/cdspr/sw/app/snmp/isl/elib:/data/projects/cdspr/sw/app/snmp/isl/tos/linux/x86

it doesn't  complain and it works fine.

The question now is how to provide this path in ./configure step  itself ????

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.