Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  1 Mar 2005 13:26:38 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        John Reynolds <johnjen@reynoldsnet.org>
Cc:        Peter Pentchev <roam@ringlet.net>
Subject:   Re: CALL FOR TESTERS: new candidate for libusb port
Message-ID:  <20050301132638.or8y2q7by8w4ocgg@netchild.homeip.net>
In-Reply-To: <16931.60165.805205.556863@whale.home-net>
References:  <16929.3285.129783.696868@whale.home-net> <20050228095047.GE10869@straylight.m.ringlet.net> <16931.60165.805205.556863@whale.home-net>

next in thread | previous in thread | raw e-mail | index | archive | help
John Reynolds <johnjen@reynoldsnet.org> wrote:

> 0) Save the shar attachment to "libusb.shar"
> 1) backup your existing .so files then pkg_delete -f libusb-0.1.7_1
> 2) (as root) cd /usr/ports/devel
> 3) backup your libusb: mv libusb libusb.orig
> 4) sh /path/to/libusb.shar

I suggest to remove point 1), and add
  5) run "portupgrade libusb"

> As I had mentioned before, Johannes bumped the lib version so after 
> you compile
> and install this port you will need to go to /usr/local/lib (or whatever your
> PREFIX is) and do
>
>  ln -s libusb-0.1.so.8 libusb-0.1.so.7
>
> so that any apps you have that were linked against the .so.7 file can 
> find the
> lib. Or, recompile them. You choose.

A version bump of the library version suggests an ABI change, so the only
real solution is to recompile. A symlink may work for some applications, but
not for all.

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
He only knew his iron spine held up the sky -- he didn't realize his brain
had fallen to the ground.
		-- The Book of Serenity




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301132638.or8y2q7by8w4ocgg>