Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Fri Dec 01, 2023 1:25 am


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

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

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

/usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat

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  
E-mail friendPrint 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

4103

Thu Aug 13, 2009 10:36 am

debuser View the latest post

There are no new unread posts for this topic. FreeBSD error when compiling world "archive_hash.h:129:20: error: sha1.h: No such file or directory"

mandrei99

0

2262

Tue May 28, 2013 5:41 am

mandrei99 View the latest post

There are no new unread posts for this topic. vlc-2.1.5 port fails to compile on FreeBSD 9.2

mandrei99

0

2525

Sun Dec 28, 2014 5:32 pm

mandrei99 View the latest post

There are no new unread posts for this topic. ipsec-tools-0.8.2 with radius support from source on CentOS 6.5 32bit

mandrei99

0

3418

Sun Dec 28, 2014 6:14 pm

mandrei99 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

2330

Fri Aug 27, 2010 7:01 am

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

2264

Thu Mar 17, 2011 11:26 am

admin View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can 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:  
cronNews 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 - 5 hours [ DST ]



phpBB SEO