libdl.so missing after "pkg upgrade" - firefox, python27...

Marcin Cieslak saper at saper.info
Mon Oct 15 07:36:45 UTC 2018


On Mon, 15 Oct 2018, Jan Beich wrote:

> Marcin Cieslak <saper at saper.info> writes:
> 
> > Hello,
> >
> > during preparations to upgrade 11.1-RELEASE p15 system I got firefox-esr
> > upgraded to 
> >
> > Oct 14 22:18:30 radziecki pkg: pkg upgraded: 1.10.5_1 -> 1.10.5_3 
> >
> > Oct 14 22:44:51 radziecki pkg: firefox-esr upgraded: 52.8.0,1 -> 60.2.2_1,1 
> >
> > Oct 14 22:54:37 radziecki pkg: python27 upgraded: 2.7.14_1 -> 2.7.15 
> >
> > However, both python2 and firefox fail due to a missing "libdl.so",
> > which as I understand got introduced in 12.0.
> >
> > Why this happens? What am I doing wrong?
> 
> FreeBSD 11.1 reached EOL on 2018-09-30, so the package cluster switched
> to 11.2 as the oldest supported 11.* release where libdl.so is available.
> 
> https://svnweb.freebsd.org/changeset/base/320872
> 
> pkg upgrade should've warned you about OSVERSION mismatch. Did you ignore?

It didn't. I have only ALIAS statement uncommented in pkg.conf.

Python 2.7 I have installed from ports:

> pkg info -A python27
python27-2.7.15:
	FreeBSD_version: 1101001
	cpe            : cpe:2.3:a:python:python:2.7.15:::::freebsd11:x64

Firefox installed via pkg:

> pkg info -A firefox-esr
firefox-esr-60.2.2_1,1:
	FreeBSD_version: 1102000
	cpe            : cpe:2.3:a:mozilla:firefox_esr:60.2.2:::::freebsd11:x64:1
	no_provide_shlib: yes
	repo_type      : binary
	repository     : FreeBSD

It is frustrating that some small hack breaks stuff like this, something like this has not happened
to me for a long time.

I have solved this by installing libdl from HEAD SVN, trying to install firefox via ports
was too painful:

svn co https://svn.freebsd.org/base/head/lib/libdl
cd libdl
make
make install

(worked with 11.1 sources from https://svn.freebsd.org/base/releng/11.1 in /usr/src).

Marcin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3663 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20181015/902d8bca/attachment.bin>


More information about the freebsd-ports mailing list