Problems compiling : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la'

2006-10-26 Thread Tuc at T-B-O-H.NET
Hi,

Trying to compile wireshark (Which I had running
previously) and I get :

libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la' or 
unhandled argument `/usr/X11R6/lib/libpangocairo-1.0.la'

The reason it can't find it is its in /usr/local/lib
now. But why is wireshark thinking its in /usr/X11R6/lib? I
saw something about GNOME trying to change the location of libraries,
but I don't know what it is that might be telling it the wrong
location.

Thanks, Tuc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems compiling : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la'

2006-10-26 Thread Karol Kwiatkowski
On 27/10/2006 00:37, Tuc at T-B-O-H.NET wrote:
 Hi,
 
   Trying to compile wireshark (Which I had running
 previously) and I get :
 
 libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la' 
 or unhandled argument `/usr/X11R6/lib/libpangocairo-1.0.la'
 
   The reason it can't find it is its in /usr/local/lib
 now. But why is wireshark thinking its in /usr/X11R6/lib? I
 saw something about GNOME trying to change the location of libraries,
 but I don't know what it is that might be telling it the wrong
 location.

I've seen that few times already, basically some gnome's libraries
weren't upgraded properly (not only pango). For a quick fix you can
either find out which one is to blame or upgrade everything on which
broken port depends, in case of wireshark:

# portupgrade -fR wireshark

The proper method, however, is described in /usr/ports/UPDATING
(20061014) and use that if you're not sure what above quick method can
brake ;)

   Thanks, Tuc

HTH,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Problems compiling : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la'

2006-10-26 Thread Vladimir Kushnir



On Thu, 26 Oct 2006, Tuc at T-B-O-H.NET wrote:


Hi,

Trying to compile wireshark (Which I had running
previously) and I get :

libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la' or 
unhandled argument `/usr/X11R6/lib/libpangocairo-1.0.la'

The reason it can't find it is its in /usr/local/lib
now. But why is wireshark thinking its in /usr/X11R6/lib? I
saw something about GNOME trying to change the location of libraries,
but I don't know what it is that might be telling it the wrong
location.

Thanks, Tuc


You've got some pre-GNOME-2.16 librar{y/ies} which references 
/usr/X11R6/lib/libpangocairo-1.0.la. Just check which one (I had some 
non-port and had to use grep: 
grep -l /usr/X11R6/lib/libpango `find /usr/X11R6/lib /usr/local/lib -name 
*.la`
) and reinstall it. BTW, you can get this error with other libs (GTK2, 
for one) as well.


Hope this helps,
Vladimir
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]