Linux, rpath and shared libraries
Roberto Raggi
raggi at cli.di.unipi.it
Thu Nov 14 11:14:54 GMT 2002
On Thursday 14 November 2002 02:29, you wrote:
> First. Both Qt and QextMdi are installed in a non-system directory,
> second, the LD_LIBRARY_PATH must not be set, the libraries must be
> found via rpath.
>
> So how do I specify an rpath ? Do I need to modify libtool for that?
> On Solaris the linker collects all -L options and generates the -rpath
> automatically. Can I do anything like that automatically?
hi roland,
maybe this can help you ;)
g++ -o $(TARGET) $(OBJECTS) -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib
-L/usr/X11R6/lib -lqt -lXext -lX11 -lm
ciao robe
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list