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]


Re: Problems compiling : libtool: link: cannot find the library

2006-10-26 Thread Tuc at T-B-O-H.NET
 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
 
Hi,

Thank you very much, thats a great way to do it. I've never used the
grep -l . The list of what it found is below. I have a feeling that the gtk-2.0
is the one thats failing the uninstall. Perhaps then other ones are skipped
because of it. 

Thanks, Tuc
himinbjorg# grep -l /usr/X11R6/lib/libpango `find /usr/X11R6/lib /usr/local/lib 
-name *.la`
/usr/X11R6/lib/gaim/docklet.la
/usr/X11R6/lib/gaim/gaim-remote.la
/usr/X11R6/lib/gaim/gestures.la
/usr/X11R6/lib/gaim/ticker.la
/usr/X11R6/lib/gaim/history.la
/usr/X11R6/lib/gaim/iconaway.la
/usr/X11R6/lib/gaim/notify.la
/usr/X11R6/lib/gaim/spellchk.la
/usr/X11R6/lib/gaim/timestamp.la
/usr/X11R6/lib/libgtk-x11-2.0.la
/usr/X11R6/lib/gtk-2.0/2.4.0/loaders/svg_loader.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-xim.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-am-et.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-cedilla.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-ipa.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-ti-er.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-ti-et.la
/usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-viqr.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libpixmap.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libclearlooks.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libcrux-engine.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libhcengine.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libindustrial.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/liblighthouseblue.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libmetal.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libmist.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libredmond95.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libsmooth.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libthinice.la
/usr/X11R6/lib/gtk-2.0/2.4.0/engines/libsvg.la
/usr/X11R6/lib/gtk-2.0/modules/libgail.la
/usr/X11R6/lib/libglade/2.0/libcanvas.la
/usr/X11R6/lib/libglade-2.0.la
/usr/X11R6/lib/libgailutil.la
/usr/X11R6/lib/librsvg-2.la
/usr/X11R6/lib/libgtkhtml-2.la
/usr/X11R6/lib/libgtkspell.la
/usr/X11R6/lib/libgnomecanvas-2.la
/usr/X11R6/lib/libgimpwidgets-2.0.la
/usr/X11R6/lib/libgimpui-2.0.la
/usr/X11R6/lib/libgdk-x11-2.0.la

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