Dear Christian,

thank's very much for the quick response. Unfortunately, I still get the
error:

Am 2017-05-05 um 09:14 schrieb ChristianEhrhardt:
> On a trusty just installing and using it works
> $ apt-get install php5-curl php5-cli
> $ php -m | grep curl
> curl
I get:

root@lerndorf:/home/cswertz# apt-get install php5-curl php5-cli
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
php5-cli ist schon die neueste Version.
php5-curl ist schon die neueste Version.
php5-curl wurde als manuell installiert festgelegt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

root@lerndorf:/home/cswertz# php -m | grep curl
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php5/20121212/curl.so' - /usr/lib/php5/20121212/curl.so: undefined 
symbol: zend_unset_property in Unknown on line 0

> Lets try to check that.
> 1. ensure which package owns the file and that it is ok, what does the 
> following report to you?
> $ dpkg -S /usr/lib/php5/20121212/curl.so
root@lerndorf:/home/cswertz# dpkg -S /usr/lib/php5/20121212/curl.so
php5-curl: /usr/lib/php5/20121212/curl.so

> $ dpkg --verify php5-curl
dpkg --verify php5-curl
root@lerndorf:/home/cswertz#

So - no result. Don't know if that's OK. The package is installed:

apt-get install php5-curl
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
php5-curl ist schon die neueste Version.

Which means: It's already installed and up to date.

> Furthermore I checked the objdump of the lib, mine referes to 
> zend_unset_property as well, but works.
> So lets check how for you the libs are resolved - maybe there is the broken 
> custom one.
> $ ldd /usr/lib/php5/20121212/curl.so

ldd /usr/lib/php5/20121212/curl.so | grep curl
    libcurl.so.4 => /usr/lib/x86_64-linux-gnu/libcurl.so.4 (0x00007fb022ddd000)

Looks like your's. Thus probably OK.

> I'll attach my ldd output for you to compare, but without more detail we
> can't do more - setting incomplete for now.
>
There is a difference, since you sent:

libcurl.so.4 => /usr/lib/x86_64-linux-gnu/libcurl.so.4
(0x00007f17dc9c0000)

and 0x00007f17dc9c0000 is obviously different. Such differences show up
for all libraries. Don't know if that's caused by the source for apt.
I'm installing from

deb http://at.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://at.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

Thus I changed to de.archive.ubuntu.com - no difference.

I already purged php5 with all other dependent packages, rebooted,
reinstalled (more than once) - no changes.

I read in some postings, that curl received a security patch and was
updated, and that update causes the error. For most people, an upgrade
pulled in the new version - but they used rpm packages. That's why I
thought it might be a problem with an outdated version of curl in the
Ubuntu package. Your last post (thank's for that) seems to suggest that
the php5-curl package was updated, but php5 not?

I tried to check this and discovered:

apt-get install php5
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
php5 ist schon die neueste Version.

(Which again means: it's installed and up to date)

root@lerndorf:/home/cswertz# dpkg --info php5
dpkg-deb: Fehler: Lesen von Archiv »php5« fehlgeschlagen: Datei oder 
Verzeichnis nicht gefunden

which means: Not found. Still, this works:

which php5
/usr/bin/php5

And:

dpkg --listfiles php5
/.
/usr
/usr/share
/usr/share/doc
/usr/share/reportbug
/usr/share/reportbug/php5
/usr/share/reportbug/php5/control
/usr/share/doc/php5
/usr/share/reportbug/php5/script

seems to be OK.

Maybe the built date in the error message might help? It says: (built:
Jul 28 2016 19:31:33) which seems to be rather old.

Does this help you to identify the problem?

--

Grüße

Christian Swertz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1688309

Title:
  curl.so: undefined symbol: zend_unset_property

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1688309/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to