espgs + cups on aix
Warwick Brown
warwick.x.brown at serco.com
Fri Jul 21 02:57:29 PDT 2006
Hi,
I have been trying to get espgs 8.15.3 working with CUPS on AIX 5.3, but have hit upon a snag when linking against libcupsimage and was wondering whether anyone else had experienced this?
I have looked for similar problems and fixes but to no avail.
While building espgs with '--with-cups' I get the following:
./obj/echogs -w ./obj/ldt.tr -n - gcc -o ./bin/gs
./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gs.o -s
cat ./obj/ld.tr >>./obj/ldt.tr
./obj/echogs -a ./obj/ldt.tr -s - -L/opt/cups/1.3svn-r5739/lib -lcupsimage -lcups -ltiff -ljpeg -lpng -lz -lpthreads -lm -ldl -lm -liconv -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= /bin/sh <./obj/ldt.tr
collect2: library libcupsimage not found
make: The error code from the last command is 1.
libcupsimage can be found in /opt/cups/1.3svn-r5739/lib and is symlinked into /usr/bin:
-rwxr-xr-x 1 root system 1258435 Jul 20 23:46 /opt/cups/1.3svn-r5739/lib/libcups_s.a
-rwxr-xr-x 1 root system 746095 Jul 20 23:46 /opt/cups/1.3svn-r5739/lib/libcupsimage_s.a
lrwxrwxrwx 1 root system 38 Jul 21 00:30 /usr/lib/libcups_s.a -> /opt/cups/1.3svn-r5739/lib/libcups_s.a
lrwxrwxrwx 1 root system 43 Jul 21 00:30 /usr/lib/libcupsimage_s.a -> /opt/cups/1.3svn-r5739/lib/libcupsimage_s.a
The contents of ldt.tr is as follows:
gcc -o ./bin/gs ./obj/gs.o ./obj/gp_getnv.o \
<very long list of objects>
-ljpeg \
-lpng \
-lz \
-L/opt/cups/1.3svn-r5739/lib -lcupsimage -lcups -ltiff -ljpeg -lpng -lz -lpthreads -lm -ldl -lm -liconv -lm
My build tools:
# uname -a
AIX joxter 3 5 00C56E5A4C00
# oslevel -r
5300-03
# gcc --version
gcc (GCC) 4.0.0
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# ld -V
ld: LD 1.64 (08/19/2003)
#
Any help would be appreciated
Regards
Warwick Brown
More information about the cups
mailing list