Re: .so symlinks not being created
Warren Young <[email protected]> Wed, 13 Jul 2011 14:44:43 -0600
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <[email protected]> |
On 7/13/2011 1:21 PM, Warren Young wrote: > Here's the last few build lines: > > g++ -shared -fPIC -o libmysqlpp.so.3.1.0 [LOTS OF .o FILES] > -Wl,-soname,libmysqlpp.so.3 -lmysqlclient -L/usr/lib64 > /usr/bin/ld: cannot find -lmysqlclient Sorry, irrelevant error. The one I should have included is: g++ -shared -fPIC -o libmysqlpp.so.2.3.2 [LOTS OF .o FILES] -Wl,-soname,libmysqlpp.so.2 -L/usr/local/lib -L/usr/lib64/mysql -lmysqlclient -lz -lz [snipped irrelevancies] g++ -o resetdb resetdb_resetdb.o -L. -L/usr/local/lib -L/usr/lib64/mysql -lmysqlpp_util -lmysqlclient -lmysqlpp -lz -lz /usr/bin/ld: cannot find -lmysqlpp This just reiterates my report that the ln commands that create libmysqlpp.so.2 and libmysqlpp.so.2.3 don't occur before it goes to try and build resetdb with -lmysqlpp. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev