Hello,
I'm trying to get PHP LDAP working, but I'm getting the following error while compiling:
/usr/bin/ld: ext/ldap/.libs/ldap.o: undefined reference to symbol 'ber_scanf'
/usr/lib64/liblber-2.4.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I've followed the steps:
I'm Trying to get PHP LDAP working, but I'm getting the following error while compiling:
It's also reported on: https://bugs.php.net/bug.php?id=67353
I don't know what he means with: "added to Makefile to EXTRA_LIBS at the end "-llber""
Any ideas?
I'm using:
#!/bin/sh
./configure \
--prefix=/usr/local/php71 \
--program-suffix=71 \
--enable-fpm \
--with-fpm-systemd \
--with-config-file-scan-dir=/usr/local/php71/lib/php.conf.d \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-libxml-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-mysqli=mysqlnd \
--with-pcre-regex=/usr/local \
--with-pdo-mysql=mysqlnd \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xsl \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--with-ldap \
--with-ldap-sasl \
--with-openssl \
--with-imap=/usr/local/imap-2007f \
--with-imap-ssl \
--enable-ftp \
--enable-sockets \
--enable-soap \
--enable-mbstring \
--with-icu-dir=/usr/local/icu \
--with-pdo-dblib=/usr/local/freetds \
--enable-intl \
I'm trying to get PHP LDAP working, but I'm getting the following error while compiling:
/usr/bin/ld: ext/ldap/.libs/ldap.o: undefined reference to symbol 'ber_scanf'
/usr/lib64/liblber-2.4.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I've followed the steps:
I'm Trying to get PHP LDAP working, but I'm getting the following error while compiling:
It's also reported on: https://bugs.php.net/bug.php?id=67353
I don't know what he means with: "added to Makefile to EXTRA_LIBS at the end "-llber""
Any ideas?
I'm using:
#!/bin/sh
./configure \
--prefix=/usr/local/php71 \
--program-suffix=71 \
--enable-fpm \
--with-fpm-systemd \
--with-config-file-scan-dir=/usr/local/php71/lib/php.conf.d \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-libxml-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-mysqli=mysqlnd \
--with-pcre-regex=/usr/local \
--with-pdo-mysql=mysqlnd \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xsl \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--with-ldap \
--with-ldap-sasl \
--with-openssl \
--with-imap=/usr/local/imap-2007f \
--with-imap-ssl \
--enable-ftp \
--enable-sockets \
--enable-soap \
--enable-mbstring \
--with-icu-dir=/usr/local/icu \
--with-pdo-dblib=/usr/local/freetds \
--enable-intl \