Package: binutils
Version: 2.15-6
Severity: normal
*** Please type your report below this line ***
Although I have the library installed I cannot link the
following programme:
char XOpenDisplay ();
int
main ()
{
XOpenDisplay ();
;
return 0;
}
[EMAIL PROTECTED]:~$ gcc -o conftest.o -lX11 -lm conftest.c
/usr/bin/ld: cannot find -lX11
[EMAIL PROTECTED]:~$ aptitude search ~ilibx11
i A libx11-6
i A libx11-dev
[EMAIL PROTECTED]:~$ ll /usr/X11R6/lib/libX11.* /etc/ld.so.*
-rw-r--r-- 1 root root 48731 2006-09-23 15:02 /etc/ld.so.cache
-rw-r--r-- 1 root root 15 2006-08-04 20:22 /etc/ld.so.conf
-rw-r--r-- 1 root root 1938320 2005-09-15 23:10 /usr/X11R6/lib/libX11.a
lrwxrwxrwx 1 root root 11 2006-09-15 23:11 /usr/X11R6/lib/libX11.so ->
libX11.so.6
lrwxrwxrwx 1 root root 13 2006-08-05 10:19 /usr/X11R6/lib/libX11.so.6 ->
libX11.so.6.2
-rw-r--r-- 1 root root 893712 2005-09-15 23:10 /usr/X11R6/lib/libX11.so.6.2
[EMAIL PROTECTED]:~$ cat /etc/ld.so.conf
/usr/X11R6/lib
I have tried this both on sarge amd64 and sarge x86.
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=bg_BG, LC_CTYPE=bg_BG (charmap=CP1251)
Versions of packages binutils depends on:
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries
an
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]