Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Sat Feb 04, 2012 10:06 pm


FreeBSD ports and pkg, Linux rpm yum and apt, AIX lpp discussions

Bookmark this article:

Author Message
mandrei99
  Post  Post subject: /usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat  |  Posted: Mon Feb 22, 2010 2:08 pm

Joined: Tue Aug 04, 2009 4:16 pm
Posts: 20

Offline
Save on Delicious
Quote:
main/internal_functions.lo -lcrypt -lz -lcrypt -lpq -lmcrypt -lltdl -lcurl -lbz2 -lz -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o sapi/cgi/php-cgi
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


In order for php to compile, it needs the libltdl.so.3 library.
To check if it is installed on the system you either tro to find it, or use the ldconfig utility:
Code:
ldconfig -p | grep ltdl


While other systems (Debian/Ubuntu for example) require libtool-devel package, on older Red Hat/Centos, you just need libtool package which can be found in the default repository or on the cd/dvd. Install it (yum install libtool will take care of the dependencies).
Now check ldconfig again:
Code:
# ldconfig -p |grep ltdl
        libltdl.so.3 (libc6) => /usr/lib/libltdl.so.3


Top
Display posts from previous:  Sort by  
Print view

Topics related to - "/usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Courier compile fails with "/usr/bin/ld: cannot find -lperl"

debuser

2

1175

Thu Aug 13, 2009 5:36 pm

debuser View the latest post

There are no new unread posts for this topic. FFMPEG svn 24953 compile fails videodev.h:56: error: expected specifier-qualifier-list before ‘ulong

debuser

0

984

Fri Aug 27, 2010 2:01 pm

debuser View the latest post

There are no new unread posts for this topic. Can't compile ssldump on FreeBSD 6 - compile fails

admin

0

425

Thu Mar 17, 2011 6:26 pm

admin View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO