General
cancel
Showing results for 
Search instead for 
Did you mean: 

ld: Unknown input file: Error compiling on 11iv3

Eugene Tchana
Occasional Contributor

ld: Unknown input file: Error compiling on 11iv3

I am in search for a binary for ppmquant that would run on 11iv3; if anyone has one please share.

In an attempt to compile one, from source code, I am getting a error that is proving difficult to fix:

# cc -o atktopbm atktopbm.o -lm -L/usr/local/src/stable/lib -lnetpbm
ld: Unknown input file type: "/usr/local/src/stable/lib/libnetpbm.sl"
Fatal error.
#

Below are some info about the shared library in question:

# ll /usr/local/src/stable/lib/libnetpbm.sl
lrwxrwxrwx 1 root sys 15 Jun 8 13:18 /usr/local/src/stable/lib/libnetpbm.sl -> libnetpbm.sl.10

# ldd /usr/local/src/stable/lib/libnetpbm.sl
libm.so.1 => /usr/lib/hpux32/libm.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1

# file /usr/local/src/stable/lib/libnetpbm.sl
/usr/local/src/stable/lib/libnetpbm.sl: ELF-32 executable object file - IA64
#

Thanks for any insight!

--
Eugene
1 REPLY
Dennis Handly
Acclaimed Contributor

Re: ld: Unknown input file: Error compiling on 11iv3

#ld: Unknown input file type:
file .../libnetpbm.sl: ELF-32 executable object file - IA64

It seems you have an executable instead of a shlib.
If you built it, you need to link with -b.