Hi ,

I'm trying to compile the MySQL 32 bits using the standard library path 
and here are my compilation flag settings

       LDFLAGS=" -R/usr/lib -R$(ROOT)/usr/mysql/5.0/lib -R/lib 
-L/usr/lib -L/lib -lCrun -lrt" \
        CFLAGS="-xO3 -xstrconst -xprefetch=auto -xprefetch_level=3 -mt 
-fns=no -fsimple=1 -xbuiltin=%all -xlibmil
-xlibmopt -xtarget=generic" \
        CXXFLAGS=" -DDBUG_OFF -DBIG_TABLES -DHAVE_RWLOCK_T -KPIC -DPIC 
-xO3 -xprefetch=auto -xprefetch_level=3 -mt -fns=no -fsimple=1 
-xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic"   \
     

I see the libCrun library available at /usr/lib ,however when I'm trying 
to compile it gives me this below error saying libCrun not found .
Any idea how this could be resolved .

Please let me know .

Thanks Sunanda

mkdir .libs
/usr/ccs/bin/ld -G -h libndbclient.so.2 -o .libs/libndbclient.so.2.0.0  
-z allextract ndbapi/.libs/libndbapi.a 
common/transporter/.libs/libtransporter.a 
common/debugger/.libs/libtrace.a 
common/debugger/signaldata/.libs/libsignaldataprint.a 
mgmapi/.libs/libmgmapi.a common/mgmcommon/.libs/libmgmsrvcommon.a 
common/logger/.libs/liblogger.a common/portlib/.libs/libportlib.a 
common/util/.libs/libgeneral.a -z defaultextract  -R/usr/lib 
-R/export/home/sunanda/6641437/proto/root_sparc/usr/mysql/5.0/lib -R/lib 
-L/usr/lib -L/lib -lCrun -lpthread -lthread -lpthread -lthread -lpthread 
-lthread -lpthread -lthread -lpthread -lthread -lpthread -lthread 
-lpthread -lthread -lpthread -lthread -lpthread -lthread -lpthread 
-lthread -lpthread -lthread -lpthread -lthread -lpthread -lthread 
-lpthread -lthread -lpthread -lthread -lpthread -lthread -lpthread 
-lthread -lpthread -lthread -lpthread -lthread -lpthread -lthread 
-lpthread -lthread -lpthread -lthread -lpthread -lthread -lpthread 
-lthread -lpthread -lthread -lpthread -lthread -lpthread -lthread 
-lpthread -lthread -lpthread -lthread -lpthread -lthread -lpthread 
-lthread -lpthread -lthread -lpthread -lthread -lpthread -lthread -lrt 
-lpthread -lthread -lpthread -lthread -lpthread -lthread -lgen -lsocket 
-lnsl -lm -lpthread -lthread -lc
ld: fatal: library -lCrun: not found
ld: fatal: File processing errors. No output written to 
.libs/libndbclient.so.2.0.0
*** Error code 1
make: Fatal error: Command failed for target `libndbclient.la'

-- 
Sunanda Menon
Database Technology Group
BLR03, x87098/91-80-66937098


Reply via email to