Hi all,
I updated my ports tree and recompiled a few (can't name entirely) ports, among these PCRE went from version 8.21_1 to 8.30. With this update (which I ran with portmaster -w) the new library installed in /usr/local/lib/ is libpcre.so.1.
Now, many packages still need the old libpcre.so.0, which is kept in /usr/local/lib/compat/pkg/.
Although the library is there, and ldconfig has knowledge of it (will show you the output in a second), programs cannot find it.
Since libpcre.so.0 is just a symbolic link to libpcre.so.1 I can _manually_ create a link called libpcre.so.0 in /usr/local/lib, this, though, gets somehow deleted everytime I upgrade a port, so it's not a solution either.
Can anyone help me out?
Best,
~C
I updated my ports tree and recompiled a few (can't name entirely) ports, among these PCRE went from version 8.21_1 to 8.30. With this update (which I ran with portmaster -w) the new library installed in /usr/local/lib/ is libpcre.so.1.
Now, many packages still need the old libpcre.so.0, which is kept in /usr/local/lib/compat/pkg/.
Although the library is there, and ldconfig has knowledge of it (will show you the output in a second), programs cannot find it.
Code:
root@... [/usr/ports/converters] # ldconfig -r | grep pcre
132:-lpcreposix.0 => /usr/local/lib/libpcreposix.so.0
190:-lpcre.1 => /usr/local/lib/libpcre.so.1
270:-lpcrecpp.0 => /usr/local/lib/libpcrecpp.so.0
518:-lpcre.0 => /usr/local/lib/compat/pkg/libpcre.so.0
root@... [/usr/ports/converters] # emacs
/libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "libgtk-x11-2.0.so.0"
Since libpcre.so.0 is just a symbolic link to libpcre.so.1 I can _manually_ create a link called libpcre.so.0 in /usr/local/lib, this, though, gets somehow deleted everytime I upgrade a port, so it's not a solution either.
Can anyone help me out?
Best,
~C