From: Sergio de Almeida Lenzi on
try to make it work again (with the now missing libjpeg.so.10...
by inserting a line in the /etc/libmap.conf

echo "libjpeg.so.10 libjpeg.so" >> /etc/libmap.conf

than probably all will work again... by the time you build all ports,
the later will be linked agains version 11.. and than you can
delete the line in the libmap.conf


Hope this will help.....
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: jhell on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Fri, 12 Feb 2010 07:27, lenzi.sergio@ wrote:
> try to make it work again (with the now missing libjpeg.so.10...
> by inserting a line in the /etc/libmap.conf
>
> echo "libjpeg.so.10 libjpeg.so" >> /etc/libmap.conf
>
> than probably all will work again... by the time you build all ports,
> the later will be linked agains version 11.. and than you can
> delete the line in the libmap.conf
>
>
> Hope this will help.....
>

Among all these you may find it useful to install sysutils/libchk.

This utility can play a key role in locating just the packages/ports that
need to be rebuilt against the new library.

This process is solely dependent on not having anything in libmap.conf.

Process,

1). Run libchk and log its output. ( script libchk.log libchk )

2). From the output of libchk look for libjpeg.so.10 and run pkg_info -W
on the full path of the file that is mentioned above the lib listing.

3). From the output of pkg_info -W note the package name into
update-pkgs.txt

4). Finally ( portupgrade -f `cat update-pkgs.txt` )


Good luck,

- --

jhell

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJLdY5YAAoJEJBXh4mJ2FR+etsIAIOEsAqR5IzIEwn3fKACvuEs
VNikfycfTJrIkyd9uzfk7e42mPkEQ7C3z14W3D4lH5dtB794lQ9MPuu+BgCE0SOU
tdlOCIsa9o2IfX5/MhWtkWGcuRsceG8kdBISEiwSjxieWIfmLnPECc/mCkEp8Nxg
rEUCQIc0LvYFjLOwUDJwlvqBe/HzhipavBOFhKb3Gmzu1PekrJpxM8HBQmfo2d65
t1NObv5WKH+QEUFaTIt4YDPh+rmEhz3FwkSwIdwrjA19vBp9zjmNg8LHx8mY+JTT
He5fJ8xdkJdwYyoj2+2EK/asJRXR4sMKwldXdeR9IZcz3bvSUVt/SfXdR2E701c=
=yCBp
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Dominic Fandrey on
jhell wrote:
>
>
> On Fri, 12 Feb 2010 07:27, lenzi.sergio@ wrote:
>> try to make it work again (with the now missing libjpeg.so.10...
>> by inserting a line in the /etc/libmap.conf
>
>> echo "libjpeg.so.10 libjpeg.so" >> /etc/libmap.conf
>
>> than probably all will work again... by the time you build all ports,
>> the later will be linked agains version 11.. and than you can
>> delete the line in the libmap.conf
>
>
>> Hope this will help.....
>
>
> Among all these you may find it useful to install sysutils/libchk.
>
> This utility can play a key role in locating just the packages/ports
> that need to be rebuilt against the new library.

Hmm, I just tested it, because my port sysutils contains pkg_libchk,
which has a very similar function.

My script needs 6m14.73s for a full run, whereas libchk only
requires 3m56.38s.

However libchk yields a lot of false positives, it's quite difficult
to find the information you need. The output of pkg_libchk looks
like that:
hdf5-1.6.9_1: /usr/local/bin/h5perf misses libh5test.so.0

So it's a lot easier to make a list of broken ports. It also only
lists directly linked libraries, so it really only lists the packages
that need relinking. A lot of its runtime is dedicated to detecting
false positives.

It doesn't have libchk's ability to list unused libraries, though.

Regards

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Charlie Kester on
On Fri 12 Feb 2010 at 10:25:51 PST Dominic Fandrey wrote:
>Hmm, I just tested it, because my port sysutils contains pkg_libchk,
>which has a very similar function.

[...]

>It doesn't have libchk's ability to list unused libraries, though.

Libchk's manpage contains a warning about this. You shouldn't leap to
the conclusion that what it calls "unreferenced libraries" are "unused".

That uncertainty does tend to reduce the usefulness of the list, so your
package doesn't suffer in the comparison as much as you might think. :)

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: jhell on

On Fri, 12 Feb 2010 13:25, kamikaze@ wrote:
> jhell wrote:
>>
>>
>> On Fri, 12 Feb 2010 07:27, lenzi.sergio@ wrote:
>>> try to make it work again (with the now missing libjpeg.so.10...
>>> by inserting a line in the /etc/libmap.conf
>>
>>> echo "libjpeg.so.10 libjpeg.so" >> /etc/libmap.conf
>>
>>> than probably all will work again... by the time you build all ports,
>>> the later will be linked agains version 11.. and than you can
>>> delete the line in the libmap.conf
>>
>>
>>> Hope this will help.....
>>
>>
>> Among all these you may find it useful to install sysutils/libchk.
>>
>> This utility can play a key role in locating just the packages/ports
>> that need to be rebuilt against the new library.
>
> Hmm, I just tested it, because my port sysutils contains pkg_libchk,
> which has a very similar function.
>
> My script needs 6m14.73s for a full run, whereas libchk only
> requires 3m56.38s.
>
> However libchk yields a lot of false positives, it's quite difficult
> to find the information you need. The output of pkg_libchk looks
> like that:
> hdf5-1.6.9_1: /usr/local/bin/h5perf misses libh5test.so.0
>
> So it's a lot easier to make a list of broken ports. It also only
> lists directly linked libraries, so it really only lists the packages
> that need relinking. A lot of its runtime is dedicated to detecting
> false positives.
>
> It doesn't have libchk's ability to list unused libraries, though.
>
> Regards
>

Never the less its more of a hands on experience when something goes wrong
and especially with jpeg. Needless to say the only output your really
looking for is anything with jpeg in it and the file it lists above. False
positives are just a side effect of a system that uses shared libs and the
way that installed programs use them.

Some of the programs that I have noticed that looks like false positives
are firefox mono octave hdf5 and when found usually you can just surf the
text file by eye and its not to hard to recognize the path that the file
installed in and dismiss them.

Guess I should have said this is a manual process.

Regards,

--

jhell

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"