[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linking to non-libtool shared libraries
From: |
David Everly |
Subject: |
linking to non-libtool shared libraries |
Date: |
Mon, 11 Sep 2006 17:02:47 -0600 |
Sorry, I think I sent this to the wrong list earlier:
---------- Forwarded message ----------
From: David Everly <address@hidden>
Date: Sep 11, 2006 3:07 PM
Subject: automake/libtool question
To: address@hidden
I'm on the following:
HP-UX B.11.23 U ia64
automake (GNU automake) 1.9.6
autoconf (GNU Autoconf) 2.60
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
I am building an executable that links to some libtool created shared
libraries and some shared libraries that were not created by libtool.
For the libtool created ones, it all just works.
For the installed, libtool-created libraries, I am use "-L/some/path"
in foo_LDFLAGS when linking foo, but I seem to need to use both
"-L/some/path" _and_ "-R/some/path" when linking foo with installed
non-libtool-created libraries.
Libtool is creating a script that wrappers the non-installed foo, and
sets the LD_LIBRARY_PATH accordingly _except_ that there is no
reference to the installed non-libtool-created library paths. What
options must I provide to get those into the foo wrapper
LD_LIBRARY_PATH also?
Thanks,
Dave.
--
ASCII ribbon campaign:
() against HTML email
/\ against Microsoft attachments
Information: http://www.expita.com/nomime.html
- linking to non-libtool shared libraries,
David Everly <=