Find the answer to your Linux question:
Results 1 to 3 of 3
# cat /etc/redhat-release CentOS release 5 (Final) # rpm -qa | grep libexif libexif-0.6.13-4.0.2.el5_1.1 libexif-0.6.13-4.0.2.el5_1.1 (One is 32-bit; one is 64-bit) [root@host Image-EXIF-1.00.3]# make rm -f blib/arch/auto/Image/EXIF/EXIF.so gcc -shared -O2 ...
  1. #1
    Banned
    Join Date
    Dec 2002
    Location
    Texas
    Posts
    242

    Cannot compile Image::EXIF extension

    # cat /etc/redhat-release
    CentOS release 5 (Final)

    # rpm -qa | grep libexif
    libexif-0.6.13-4.0.2.el5_1.1
    libexif-0.6.13-4.0.2.el5_1.1
    (One is 32-bit; one is 64-bit)

    [root@host Image-EXIF-1.00.3]# make
    rm -f blib/arch/auto/Image/EXIF/EXIF.so
    gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic EXIF.o asahi.o canon.o casio.o exif.o exifgps.o exifutil.o fuji.o getopt.o jpeg.o leica.o makers.o minolta.o nikon.o olympus.o panasonic.o sanyo.o sigma.o tagdefs.o timevary.o -o blib/arch/auto/Image/EXIF/EXIF.so -lexif

    /usr/bin/ld: cannot find -lexif
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/Image/EXIF/EXIF.so] Error 1

    So does anyone know what gives? I had this working under CentOS 4,
    but it's been so long I don't recall if there was any special install needs.

  2. #2
    Banned
    Join Date
    Dec 2002
    Location
    Texas
    Posts
    242
    Same problem compiling Image-EXIF-0.99.4, the previous version.

  3. #3
    Banned
    Join Date
    Dec 2002
    Location
    Texas
    Posts
    242
    Nevermind, I found my problem. I needed libexif-devel installed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...