Package: libclips-dev
Version: 6.21-3
Severity: normal

I had this problem when I tried to use libclips-dev:

  [EMAIL PROTECTED]:~/pruebas/clips$ gcc -lclips -lm -I/usr/include/clips -I.
  main.c -o main
  /tmp/ccTkdUDb.o: In function `main':
  main.c:(.text+0x22): undefined reference to `InitializeEnvironment'
  collect2: ld returned 1 exit status


and looking in /usr/lib I found this:

  [EMAIL PROTECTED]:~/pruebas/clips$ ls -l /usr/lib/libclips.*
  -rw-r--r--  1 root root 1376404 2005-04-07 00:31 /usr/lib/libclips.a
  lrwxrwxrwx  1 root root      16 2005-09-21 17:30 /usr/lib/libclips.so ->
  libclips.so.6.10
  lrwxrwxrwx  1 root root      16 2005-06-06 14:50 /usr/lib/libclips.so.6
  -> libclips.so.6.21
  -rw-r--r--  1 root root  800244 2005-04-07 00:31 /usr/lib/libclips.so.6.21

libclips.so is pointing to libclips.so.6.10 and not to libclips.so.6.21.
I have tried to change this and it works:

  jabugo:/usr/lib# rm libclips.so
  jabugo:/usr/lib# ln -s libclips.so.6.21 libclips.so
  jabugo:/usr/lib# ls -l libclips.*
  -rw-r--r--  1 root root 1376404 Apr  7 00:31 libclips.a
  lrwxrwxrwx  1 root root      16 Sep 21 17:54 libclips.so ->
  libclips.so.6.21
  lrwxrwxrwx  1 root root      16 Jun  6 14:50 libclips.so.6 ->
  libclips.so.6.21
  -rw-r--r--  1 root root  800244 Apr  7 00:31 libclips.so.6.21

  [EMAIL PROTECTED]:~/pruebas/clips$ gcc -lclips -lm -I/usr/include/clips -I.
  main.c -o main
  [EMAIL PROTECTED]:~/pruebas/clips$
  

I think it could be fixed changing this line in debian/rules:

- cd `pwd`/debian/libclips-dev/usr/lib && ln -s libclips.so.6.10 libclips.so
+ cd `pwd`/debian/libclips-dev/usr/lib && ln -s libclips.so.6.21 libclips.so

                                                                        
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libclips-dev depends on:
ii  libc6-dev                     2.3.5-6    GNU C Library: Development Librari
ii  libclips                      6.21-3     CLIPS shared libraries

Versions of packages libclips-dev recommends:
ii  clips-doc                     6.23-1     "C" Language Integrated Production

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to