This is a discussion on How do I create *so object using libtool within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I have installed MySQL4.0.21 (downloaded from mysql-4.0.21-sol8-sparc-local.gz @sunfreeware.com.) Now I am encountering problem when installing the MySQL-Python1.2.0 extension. It ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have installed MySQL4.0.21 (downloaded from mysql-4.0.21-sol8-sparc-local.gz @sunfreeware.com.) Now I am encountering problem when installing the MySQL-Python1.2.0 extension. It complains that libmysqlclient_r.so not found. Is it possible to create a share object using libtool? If so, how do I build the share object using libtool? Please advise, thank you! |
| |||
| Addition to the qustion above. Here are what I have in the mysql lib directory: -rw-r--r-- 1 mysql 15360 Oct 7 2004 libdbug.a -rw-r--r-- 1 mysql 32440 Oct 7 2004 libheap.a -rw-r--r-- 1 mysql 12676 Oct 7 2004 libmerge.a -rw-r--r-- 1 mysql 284780 Oct 7 2004 libmyisam.a -rw-r--r-- 1 mysql 22304 Oct 7 2004 libmyisammrg.a -rw-r--r-- 1 mysql 324284 Oct 7 2004 libmysqlclient.a -rwxr-xr-x 1 mysql 1011 Oct 7 2004 libmysqlclient.la -rwxr-xr-x 1 mysql 1055 Oct 7 2004 libmysqlclient_r.la -rwxr-xr-x 1 mysql 1055 Oct 7 2004 libmysqlclient_r.la.org -rw-r--r-- 1 mysql 120060 Oct 7 2004 libmystrings.a -rw-r--r-- 1 mysql 245656 Oct 7 2004 libmysys.a -rw-r--r-- 1 mysql 107012 Oct 7 2004 libnisam.a -rw-r--r-- 1 mysql 5112 Oct 7 2004 libvio.a |
| |||
| "kaka.hui@gmail.com" wrote: > > I have installed MySQL4.0.21 (downloaded from > mysql-4.0.21-sol8-sparc-local.gz @sunfreeware.com.) Now I am > encountering problem when installing the MySQL-Python1.2.0 extension. > It complains that libmysqlclient_r.so not found. Is it possible to > create a share object using libtool? If so, how do I build the share > object using libtool? Please advise, thank you! 'man libtool' |
| ||||
| In article <42BE0F46.BFC0D5B6@en-ninguna-parte.com>, Ben <ben@en-ninguna-parte.com> wrote: >"kaka.hui@gmail.com" wrote: >> >> I have installed MySQL4.0.21 (downloaded from >> mysql-4.0.21-sol8-sparc-local.gz @sunfreeware.com.) Now I am >> encountering problem when installing the MySQL-Python1.2.0 extension. >> It complains that libmysqlclient_r.so not found. Is it possible to >> create a share object using libtool? If so, how do I build the share >> object using libtool? Please advise, thank you! > >'man libtool' i've never seen a libtool man page. there's not one in libtool-1.5.10. this is probably not feasible unless you have the source code. if you only have the lib*.a files, i think you're doomed. if you can get source, i'd say the easiest thing would be to write a configure.ac and Makefile.am. use autoconf, automake. in configure.ac: AC_INIT([ymmv][0],[hoodat]) AM_INIT_AUTOMAKE whatever... AC_PROG_LIBTOOL whatever.... AC_CONFIG_FILES([Makefile]) AC_OUTPUT in Makefile.am: noinst_LTLIBRARIES= libxxx.la libxxx_la_SOURCES=the sources let the scripts figure it out. j. -- Jay Scott 512-835-3553 gl@arlut.utexas.edu Head of Sun Support, Sr. Operating Systems Specialist Applied Research Labs, Computer Science Div. S224 University of Texas at Austin |