This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
--- Kai Ruottu <karuottu@mbnet.fi> wrote: > EJS kirjoitti: > > warning: libXrender.so.1, needed by > > > /opt/crosstool/gcc-3.4.4-glibc-2.3.5/i686-unknown-linux-gnu/i686-unknown-linux-gnu/usr/lib/libmyth-0.18.1.so, > > not found (try using -rpath or -rpath-link) > > I tried addding -rpath and/or -rpath-link to the > > compile but the results were the same (ie the lib > is > > not found). > > > How ? Definitely the : > > -rpath-link PATH Set link time shared > library search path > > option SHOULD work, if not, then produce a bug > report to the GNU > binutils maintainers! > Once upon a time it didn't, but that was years > ago.... > > If you cannot even tell HOW you used the option, how > anyone could help you ! > Kai, Thanks for the response. To be specific, I tried this syntax: g++ --rpath=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/i686-unknown-linux-gnu/i686-unknown-linux-gnu/usr/X11R6/lib -o mythbrowser main.o webpage.o tabview.o moc_webpage.o moc_tabview.o -L/usr/lib/qt-3.3/lib -L/opt/crosstool/gcc-3.4.4-glibc-2.3.5/i686-unknown-linux-gnu/i686-unknown-linux-gnu/usr/X11R6/lib -L/opt/crosstool/gcc-3.4.4-glibc-2.3.5/i686-unknown-linux-gnu/i686-unknown-linux-gnu/usr/lib -lmyth-0.18.1 -L/opt/kde3/lib -lkhtml -lqt-mt -lXext -lX11 -lm Is this correct? J __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |