sibaz / pecl-expect

Other
1 stars 3 forks source link

Build fine, but at runtime: libexpect5.45.4.so not found #1

Closed tuaris closed 4 years ago

tuaris commented 4 years ago

ldd on the built extension shows

/usr/local/lib/php/20170718/expect.so:
    libexpect5.45.4.so => not found (0)

I have --with-expect= set to /usr/local/lib. The contents of which are:

ls -larths /usr/local/lib | grep expect
    1 lrwxr-xr-x    1 root  wheel    31B Dec  8 11:02 libexpect.so.1 -> expect5.45.4/libexpect5.45.4.so
    1 lrwxr-xr-x    1 root  wheel    14B Dec  8 11:02 libexpect.so -> libexpect.so.1
    1 drwxr-xr-x    2 root  wheel     4B Feb  4 19:17 expect5.45.4

Is this a problem with my expect package not making the correct symlink (or file name) or with php-expect not using the correct file name?

tuaris commented 4 years ago

Turned out to be a packaging issue on the OS level.