- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Link error building ghostscript 8.62 shared librar...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2008 02:30 PM
тАО06-26-2008 02:30 PM
Link error building ghostscript 8.62 shared library
ld: Unrecognized argument: -soname=libgs.so.8
This argument is somehow generated by the make process; it doesn't seem to be something I can manually alter.
We need to have this built from the source, rather than using the download site. I was able to build the standard ghostscript binary without a problem. Any suggestions would be appreciated. Thank you!
--Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2008 11:26 PM
тАО06-26-2008 11:26 PM
Re: Link error building ghostscript 8.62 shared library
>This argument is somehow generated by the make process; it doesn't seem to be something I can manually alter.
You don't see this in the makefile?
Basically -soname=libgs.so.8 seems to be the same as ld's "+h libgs.so.8".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2008 11:52 AM
тАО07-01-2008 11:52 AM
Re: Link error building ghostscript 8.62 shared library
----
root ghostscript-8.62$ make so
make LDFLAGS=' -shared -Wl,-soname=libgs.so.8' GS_XE=./bin/../sobin/libgs.so.8.62 STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" ' prefix=/opt/ghostscript ./bin/../sobin/gsc ./bin/../sobin/gsx
make[1]: Entering directory `/root/ghostscript-8.62'
./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - cc -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.62
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs1.o ./obj/../soobj/gs.o -s
cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -ldl -lm -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= \
DEVICE_DEVS_EXTRA= \
/bin/sh <./obj/../soobj/ldt.tr
cc: warning 901: unknown option: `-hared': use +help for online documentation.
ld: Unrecognized argument: -soname
Fatal error.
make[1]: *** [bin/../sobin/libgs.so.8.62] Error 1
make[1]: Leaving directory `/root/ghostscript-8.62'
make: *** [so] Error 2
----
The resulting ldt.tr file looks like this:
----
cc -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.62 ./obj/../soobj
/gsromfs1.o ./obj/../soobj/gs.o ./obj/../soobj/gp_getnv.o \
./obj/../soobj/gp_unix.o \
./obj/../soobj/gp_unifs.o \
&etc.
----
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2008 12:04 PM
тАО07-01-2008 12:04 PM
Re: Link error building ghostscript 8.62 shared library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2008 02:45 PM
тАО07-01-2008 02:45 PM
Re: Link error building ghostscript 8.62 shared library
Is there a configure script that you can tell you are using HP-UX?
Otherwise you'll need to edit ldt.tr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2008 09:31 AM
тАО07-23-2008 09:31 AM
Re: Link error building ghostscript 8.62 shared library
>Is there a configure script that you can tell you are using HP-UX?
>Otherwise you'll need to edit ldt.tr.
Alas I already tried that. Unfortunately it is generating ldt.tr during the make, so it overwrites my changes.
My understanding is that running the ghostscript configure script is supposed to establish the system requirements, as seems to be usual for open source. The only system dependency I can set (per ./configure --help) is the printer drivers.