LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-17-2008, 01:27 AM   #1
blong4life
Member
 
Registered: Jun 2006
Distribution: Fedora Core 8, RHEL 4, CentOS 5
Posts: 44

Rep: Reputation: 15
PHP Compile Error


Hello,

At the end of a PHP Compile, I get the following error:

libtool: link: cannot find the library `/usr/lib/libidn.la'

I have forced the install of libidn and libidn-devel, and still nothing.

My config statment is
Quote:
./configure --enable-bcmath --enable-calendar --enable-dbase --enable-exif --enable-force-cgi-redirect --enable-ftp --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-sockets --enable-zip --prefix=/usr/local --with-bz2 --with-config-file-path=/usr/local/lib --with-config-file-scan-dir=/usr/local/lib/php.ini.d --with-curl=/opt/curlssl/ --with-curlwrappers --with-gd=/usr --with-gettext --with-jpeg-dir=/usr --with-kerberos=/usr --with-libexpat-dir=/usr --with-libxml-dir=/opt/xml2/ --with-mcrypt=/opt/libmcrypt/ --with-mhash=/opt/mhash/ --with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/bin/mysql_config --with-openssl=/usr/local/ssl --with-openssl-dir=/usr/local/ssl --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-png-dir=/usr --with-pspell --with-sqlite=shared --with-tidy=/opt/tidy/ --with-xmlrpc --with-xpm-dir=/usr/X11R6 --with-xsl=/opt/xslt/ --with-zlib --with-zlib-dir=/usr --with-freetype-dir=/usr
Thanks
 
Old 02-18-2008, 08:59 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Quote:
ibtool: link: cannot find the library `/usr/lib/libidn.la'
I have forced the install of libidn and libidn-devel, and still nothing.
What you mean by force install? Did you check for any dependencies?
Anyway make sure that:
1. the library exists in the above path
2. /usr/lib is in /etc/ld.so.conf and run "ldconfig" as root
3. /usr/lib is in your PKG_CONFIG_PATH
You can also create a symlink from the actual place of libidn.la to /us/lib

Hope that helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conmpile error wen compile php:configure: error: libpng.(a|so) not found tanveer Linux - Software 5 02-03-2009 06:13 AM
PHP compile error... mpbraj Linux - Server 2 12-23-2006 12:05 AM
PHP Compile error hampen Linux - Software 6 04-29-2006 05:34 PM
Install PHP - Error During Compile Sitaga Linux - Software 3 01-13-2005 12:04 PM
PHP 4.3 compile error on RH9 men$an Linux - Distributions 0 05-23-2003 01:09 AM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration