Date: Sun, 14 Apr 2019 21:25:20 -0400 From: George Mitchell <george+freebsd@m5p.com> To: Adam Weinberger <adamw@adamw.org> Cc: freebsd ports <freebsd-ports@freebsd.org> Subject: Re: make delete-old-libs is your friend Message-ID: <f61cb8a3-40c8-34ae-2c4a-10657cce179e@m5p.com> In-Reply-To: <CAP7rwcisyXSEHOQ5nteNqqVdMUhCYeV_B07wZzmZYS55=s7SvQ@mail.gmail.com> References: <f55b2fc9-ab1b-7c33-f261-dd21e9b7020f@m5p.com> <CAP7rwcisyXSEHOQ5nteNqqVdMUhCYeV_B07wZzmZYS55=s7SvQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AVvP4hp50viZMNSma3VbvGwhJfmLOTTxJ Content-Type: multipart/mixed; boundary="vdmKSIS3XKYbYgPotwTQLdKDBJgOrsQlX"; protected-headers="v1" From: George Mitchell <george+freebsd@m5p.com> To: Adam Weinberger <adamw@adamw.org> Cc: freebsd ports <freebsd-ports@freebsd.org> Message-ID: <f61cb8a3-40c8-34ae-2c4a-10657cce179e@m5p.com> Subject: Re: make delete-old-libs is your friend References: <f55b2fc9-ab1b-7c33-f261-dd21e9b7020f@m5p.com> <CAP7rwcisyXSEHOQ5nteNqqVdMUhCYeV_B07wZzmZYS55=s7SvQ@mail.gmail.com> In-Reply-To: <CAP7rwcisyXSEHOQ5nteNqqVdMUhCYeV_B07wZzmZYS55=s7SvQ@mail.gmail.com> --vdmKSIS3XKYbYgPotwTQLdKDBJgOrsQlX Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 4/14/19 9:07 PM, Adam Weinberger wrote: > On Sun, Apr 14, 2019 at 6:26 PM George Mitchell <george+freebsd@m5p.com= > wrote: >> >> But I forgot that, and ended up with both /lib/libreadline.so.8 >> AND /usr/local/lib/libreadline.so.8 on my machine, leading to woe >> when compiling the latest lang/python36. Unfortunately, the base >> version readline was quite a bit older than the one from ports. >> >> Nevertheless, the ports version is explicitly linked as >> libreadline.so.8, the same as the old base version, so python36 >> tried linking to the base version and failed because it did not >> contain the new(ish) function rl_callback_sigcleanup. >> >> There's no question I shot myself in the foot by not deleting >> the old libraries (an omission I have now remedied after a fair >> amount of thrashing around to see what was wrong), but it might >> have made my life a little easier if the port devel/readline >> linked itself as libreadline.so.9 instead of 8. Is there a >> recommended practice (or should there be one) to change the .so >> version when simultaneously moving a base library to ports and a >> new version? -- George >=20 > libreadline.so is at version 8 because the current readline is 8.0. > libreadline.so.9 won't come until readline-9.0 is released. We really > can't deviate from that, because it'd still be v8 software; it'd be > like AT&T's ridiculous claim that they invented 5G by discovering the > number 5. >=20 > # Adam >=20 >=20 You leave me no choice but to rail at whoever allowed "v4" readline to be installed as /lib/libreadline.so.8 back when it was in base. (I'd rather rail at that person than have to face my own omission.) -- George --vdmKSIS3XKYbYgPotwTQLdKDBJgOrsQlX-- --AVvP4hp50viZMNSma3VbvGwhJfmLOTTxJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlyz3YAACgkQwRES3m+p 4fnmwg//coEC96a9fc13VBzxtpZNw8cTeV9N+Z7NM2mZalDg2kYZMQgtzcL7h3Ni TprN1/gzoKKZy8a27wpj7mTo1y7TXINnXB1lUo0UvUWwgg9EPpX8ZXGRXzIz54s+ RN5IWHztdAnHZjp+xU78hmKSROssX0BYGv/htMZLp3dN0BsHn0XuBo5Vu77yGhoe vOeTWvrWal5OJi9Zb/dHNX9q/P1Bqkx3CWPgGZUzouLRYWMQTgSzw/uLWclxiuwh NerRUk+3A06QVa2Hduzn83CgAiGYB5duHwlY4PGjy2UYhEbA1XZN1VC6NQLFV5Jd 9km87yGTJtOACN4jJAPkn46Q23sXxf5HrU4YhWO1oAqCXqTtpwmxdXxGjB7nPwUp KpUxdMNWcV3sJoUZpeSvn+iaxL9jeE4LjoX9tDqN2gBeBDX4+DsdKFer6Mrp+e/U oebimkfVdvPqKoqOWdby6+jUSqt3Z38jyCGK4yA35ctQevRdrD7T4HY+5R4WG/71 CyEomDdd27kA6/xXhrQXyVUgjRBrqkbezQaquNrJfR7ZdJeEfyEvKW+a+sxHk7hJ 5NO0yzW7K5x1cxZQ5nwCmDhrJo1xDR14yN6ioKTaJg/YrM02Wy1IwGk3B7ZGN47W scW2oERVO24jjvvBQ4/hfcbxwfNu5iK8cgyqvbm5P0LSPoD3eKA= =jeyJ -----END PGP SIGNATURE----- --AVvP4hp50viZMNSma3VbvGwhJfmLOTTxJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f61cb8a3-40c8-34ae-2c4a-10657cce179e>