i'm trying to compile a "hello mysql" C program. i compiled it with: cc -o hellomysql $(mysql_config --cflags) hellomysql.c $(mysql_config --libs) but the problem is after executing it: "..libmysqlclient.so.15: open failed.." my mysql_config --libs is : -L/opt/SUNWspro.40/SS11/lib -lCrun -lrt -L/usr/mysql/5.0/lib/mysql -lmysqlclient -lz -lgen -lsocket -lnsl -lm
the problem seems to be that it not includes -R/usr/mysql/5.0/lib/mysql, that's a bug or ? (i'm on b86 with cc: Sun C 5.9 SunOS_i386 Patch 124868-05 2008/05/13 & CC: Sun C++ 5.9 SunOS_i386 Patch 124864-04 2008/04/16) -- Andy http://blog.sartek.net _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org