delorie.com/archives/browse.cgi | search |
On Sat, 1 Nov 2003, Alex Vinokur wrote: > $ gcc -o foo -lstlport > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lstlport > collect2: ld returned 1 exit status > > Where should one put stlport libraries ? > /usr/lib for Cygwin, /usr/lib/mingw32 for mingw, or possibly the /usr/local variants would be more correct since this is a local addition. You would then need a -L/usr/local/lib[/mingw], I think. Or, just add the -L/path/to/where/you/have/them. > ===> Note! There is no 'lib' under 'usr'. > It should be there and be the same as /lib via mount. What does mount -m say? ford AT fordpc /usr/lib $ mount -m mount -f -s -b "G:/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts" mount -f -s -b "G:/cygwin/bin" "/usr/bin" mount -f -s -b "G:/cygwin/lib" "/usr/lib" mount -f -s -b "G:/cygwin" "/" mount -s -b --change-cygdrive-prefix "/cygdrive" Use mount to add it. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |