Date: Mon, 23 Jul 2007 14:30:44 -0400 (EDT) From: "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net> To: freebsd-ports@freebsd.org Subject: Xorg upgrade issues, pulling wrong lib Message-ID: <200707231830.l6NIUiM6058817@himinbjorg.tucs-beachin-obx-house.com>
next in thread | raw e-mail | index | archive | help
Hi, I've asked this on questions, but thought maybe porters would have a better idea... I'm following the directions to upgrade Xorg (REALLY I AM, PROMISE!) and I'm seeing this fly by my screen : /usr/local/bin/bdftopcf -t lubR12-ISO8859-13.bdf | gzip > lubR12-ISO8859-13.pcf.gz /libexec/ld-elf.so.1: /usr/X11R6/lib/libXfont.so.1: Undefined symbol "serverClient" /usr/local/bin/ucs2any lubR14.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-13 ISO8859-13 Writing 192 characters into file 'lubR14-ISO8859-13.bdf'. (AND SO ON) I won't go any further as I'm sure this is indicating a problem. But where/how? -r-xr-xr-x 1 root wheel 5308 Jul 23 13:18 /usr/local/bin/bdftopcf /usr/local/bin/bdftopcf: libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x2807f000) libc.so.5 => /lib/libc.so.5 (0x280e5000) Looks like its picking up libXfont.so.1 from the /usr/X11R6 : -rwxr-xr-x 1 root wheel 424992 Oct 26 2006 /usr/X11R6/lib/libXfont.so.1 and not from the local : -rwxr-xr-x 1 root wheel 432705 Jul 23 13:18 /usr/local/lib/libXfont.so.1 What could cause it? How do I fix it mid build? Is there anything else I should be looking at? So I went to x11-fonts/bdftopcf. I set my XORG_UPGRADE variable (Just incase) and did : ===> Vulnerability check disabled, database not found ===> Extracting for bdftopcf-1.0.1 => MD5 Checksum OK for xorg/app/bdftopcf-1.0.1.tar.bz2. => SHA256 Checksum OK for xorg/app/bdftopcf-1.0.1.tar.bz2. ===> Patching for bdftopcf-1.0.1 ===> bdftopcf-1.0.1 depends on file: /usr/local/libdata/pkgconfig/xfont.pc - found ===> bdftopcf-1.0.1 depends on executable in : pkg-config - found ===> Configuring for bdftopcf-1.0.1 configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking if xorg-macros used to generate configure is at least 1.1... yes, 1.1.5 checking for i386-portbld-freebsd5.5-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for i386-portbld-freebsd5.5-pkg-config... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for BDFTOPCF... yes checking build system type... i386-portbld-freebsd5.5 checking host system type... i386-portbld-freebsd5.5 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ===> Building for bdftopcf-1.0.1 make all-am if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include/freetype2 -O -pipe -MT bdftopcf-bdftopcf.o -MD -MP -MF ".deps/bdftopcf-bdftopcf.Tpo" -c -o bdftopcf-bdftopcf.o `test -f 'bdftopcf.c' || echo './'`bdftopcf.c; then mv -f ".deps/bdftopcf-bdftopcf.Tpo" ".deps/bdftopcf-bdftopcf.Po"; else rm -f ".deps/bdftopcf-bdftopcf.Tpo"; exit 1; fi cc -O -pipe -o bdftopcf bdftopcf-bdftopcf.o -L/usr/local/lib -lXfont sed -e 's|__vendorversion__|"bdftopcf 1.0.1" "X Version 11"|' -e 's|__xorgversion__|"bdftopcf 1.0.1" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr/local|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < bdftopcf.man > bdftopcf.1 himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf work/bdftopcf-1.0.1/bdftopcf: libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x28080000) libc.so.5 => /lib/libc.so.5 (0x280e6000) WHY when the cc step is stating -L/usr/local/lib is it bring the Xfont from /usr/X11R6/lib? It looks the library was installed at the request of bdftopcf, but there still is another version out there from the previous install of xorg-libraries-6.9.0 . Where do I go? Thanks, Tuc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707231830.l6NIUiM6058817>