Summary: | dev-lang/php-5.1.2 will not install with msql and mysql in use flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | anthony <apryanmd> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED DUPLICATE | ||
Severity: | minor | ||
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-437008-highlight-msql.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
anthony
2006-04-09 17:47:13 UTC
[root@home]:/etc/php$ emerge -pv =dev-lang/php-5.1.2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/php-5.1.2 USE="apache2 bcmath calendar cdb cgi crypt curl curlwrappers discard-path ftp gd iconv ipv6 memlimit mhash ming msql mysql ncurses nls postgres qdbm readline session sharedmem spell sqlite ssl tokenizer truetype vm-goto wddx xml xmlrpc xpm xsl zip zlib -apache -berkdb -bzip2 -cjk -cli -ctype -db2 -dbase -debug -doc -exif -fastbuild -flatfile -force-cgi-redirect -gd-external -gdbm -gmp -hardenedphp -hash -hyperwave-api -imap -inifile -interbase -iodbc -java-external -kerberos -ldap -libedit -mcve -mssql -mysqli -oci8 -odbc -pcntl -pcre -pdo -pdo-external -pic -posix -recode -reflection -sapdb -sasl -sharedext -simplexml -snmp -soap -sockets -spl -sysvipc -threads -tidy -vm-switch -xmlreader -xmlwriter -yaz" 0 kB Total size of downloads: 0 kB checking mSQL version... 1.0 checking for MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... /var/run/mysqld/mysqld.sock checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. !!! ERROR: dev-lang/php-5.1.2 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile php-5.1.2.ebuild, line 105: Called src_compile_normal php-5.1.2.ebuild, line 218: Called php5_1-sapi_src_compile php5_1-sapi.eclass, line 568: Called die configure:75951: result: 1.0 configure:75959: checking for MSSQL support via FreeTDS configure:75998: result: no configure:76648: checking for MySQL support configure:76687: result: yes configure:76695: checking for specified location of the MySQL UNIX socket configure:76713: result: /var/run/mysqld/mysqld.sock configure:76755: checking for MySQL UNIX socket location configure:76764: result: /var/run/mysqld/mysqld.sock configure:76954: checking for mysql_close in -lmysqlclient configure:76984: gcc -o conftest -I/usr/include -Os -march=k8 -fomit-frame-pointer -pipe -L/usr/lib64 -Wl,-O1 -Wl, --enable-new-dtags -Wl,--sort-common -s -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64 -Wl,-rpath,/usr/X11R6/lib64 -L/usr/X11R6/lib64 -Wl,-rpath,/lib -L/lib -Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -lmysqlclient -lmsql -lming -lm -lmhash -lmcrypt -lltdl -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lqdbm -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lssl -lcrypto -ldl >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmsql collect2: ld returned 1 exit status configure:76990: $? = 1 configure: failed program was: | /* confdefs.h. */ The only solution was to disable msql with -msql in the use flags. But I need msql and mysql. I attempted to compile php manually (before emerging) in getting msql to work. I am getting the following error on compile. /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/msql3/lib/libmsql.a(libmsql.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/msql3/lib/libmsql.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Does that mean msql isn't 64bit compatable? tx *** This bug has been marked as a duplicate of 129400 *** CLOSED |