KSE and qt-mt

From: Vladimir B. Grebenschikov <vova_at_express.ru>
Date: Mon, 22 Dec 2003 13:28:53 +0300
If libc_r mapped into libkse, like /etc/libmap.conf:
--
libc_r.so.5  libkse.so.1
libc_r.so    libkse.so
--

Build of port avifile-0.7.38_1,2 coredumps while configure detects qt
library. With regular libc_r it builds as exprected.

(FreeBSD 5.2-CURRENT i386, cvsupped at Fri 19 Dec 2003)

no additional options for avifile build was specified

/usr/ports/multimedia/avifile# make configure
===>  Configuring for avifile-0.7.38_1,2
creating cache ./config.cache
avifile configure options: --with-gnu-ld --enable-iconv --disable-v4l
--disable-divx4 --with-qt-includes=/usr/X11R6/include
--with-qt-libraries=/usr/X11R6/lib --with-extra-libs=/usr/local/lib
--disable-release --disable-ac3passthrough --enable-a52
--enable-ffmpeg-a52bin --with-a52-prefix=/usr/local --enable-mad
--enable-libmad --with-sdl-prefix=/usr/local
--with-sdl-exec-prefix=/usr/local --disable-vidix
--with-vorbis-prefix=/usr/local --with-ogg-prefix=/usr/local
--with-xvid-prefix=/usr/local --enable-x86opt --enable-win32
--with-win32-path=/usr/local/lib/win32 --x-libraries=/usr/X11R6/lib
--x-includes=/usr/X11R6/include --prefix=/usr/local
checking host system type... i386-unknown-freebsd5.2
...
checking for DPMSQueryExtension in -lXdpms... no
checking for main in -lqt-mt... yes
checking for Qt library (version >= 200)... Segmentation fault (core
dumped)
no
configure: warning: 
*** Could not run Qt test program, checking why...
*** Configure discovered/uses these settings:
*** Qt libraries: /usr/X11R6/lib
*** Qt headers: /usr/X11R6/include
*** Note:
***    Compilation of Qt utilities also might be turned off (if not
wanted).
***    If you are experiencing problems which will not be described
***    bellow please report then on 'avifile_at_prak.org' mailing list
***    (i.e. some misdetection or omitted path)
             
configure: error: 
*** Qt test program compiled, but did not run. This usually means
*** that the run-time linker is not finding Qt library or finding the
wrong
*** version of Qt. If it is not finding Qt, you will need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to
point
*** to the installed location  Also, make sure you have run ldconfig if
that
*** is required on your system.
***

# gdb ./conftest
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-undermydesk-freebsd"...
(gdb) r
Starting program:
/ext/ports/multimedia/avifile/work/avifile-0.7-0.7.38/conftest 

Program received signal SIGSEGV, Segmentation fault.
0x2891f028 in pthread_key_create () from /usr/lib/libkse.so.1
(gdb) bt
#0  0x2891f028 in pthread_key_create () from /usr/lib/libkse.so.1
#1  0x28af55cc in __nvsym17681 () from /usr/X11R6/lib/libGL.so.1
#2  0x2804d923 in _rtld () from /libexec/ld-elf.so.1
(gdb) 

# pkg_which  /usr/X11R6/lib/libGL.so.1
XFree86-libraries-4.3.0_6 nvidia-driver-1.0.4365_1
#

-- 
Vladimir B. Grebenschikov <vova_at_sw.ru>
SWsoft Inc.
Received on Mon Dec 22 2003 - 01:28:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC