<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Link error building ghostscript 8.62 shared library in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223370#M676387</link>
    <description>Has anybody had success trying to build the ghostscript 8.62 shared library for use with gsview?  During a 'make so' (using HP's C/aC++ C.11.23.14 and gmake 3.81) I get the following error message:&lt;BR /&gt;&lt;BR /&gt;ld: Unrecognized argument: -soname=libgs.so.8&lt;BR /&gt;&lt;BR /&gt;This argument is somehow generated by the make process; it doesn't seem to be something I can manually alter.&lt;BR /&gt;&lt;BR /&gt;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!&lt;BR /&gt;&lt;BR /&gt;--Bob&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Jun 2008 21:30:18 GMT</pubDate>
    <dc:creator>Main Group</dc:creator>
    <dc:date>2008-06-26T21:30:18Z</dc:date>
    <item>
      <title>Link error building ghostscript 8.62 shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223370#M676387</link>
      <description>Has anybody had success trying to build the ghostscript 8.62 shared library for use with gsview?  During a 'make so' (using HP's C/aC++ C.11.23.14 and gmake 3.81) I get the following error message:&lt;BR /&gt;&lt;BR /&gt;ld: Unrecognized argument: -soname=libgs.so.8&lt;BR /&gt;&lt;BR /&gt;This argument is somehow generated by the make process; it doesn't seem to be something I can manually alter.&lt;BR /&gt;&lt;BR /&gt;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!&lt;BR /&gt;&lt;BR /&gt;--Bob&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jun 2008 21:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223370#M676387</guid>
      <dc:creator>Main Group</dc:creator>
      <dc:date>2008-06-26T21:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Link error building ghostscript 8.62 shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223371#M676388</link>
      <description>&amp;gt;ld: Unrecognized argument: -soname=libgs.so.8&lt;BR /&gt;&amp;gt;This argument is somehow generated by the make process; it doesn't seem to be something I can manually alter.&lt;BR /&gt;&lt;BR /&gt;You don't see this in the makefile?&lt;BR /&gt;Basically -soname=libgs.so.8 seems to be the same as ld's "+h libgs.so.8".</description>
      <pubDate>Fri, 27 Jun 2008 06:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223371#M676388</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-27T06:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Link error building ghostscript 8.62 shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223372#M676389</link>
      <description>It seems to be auto-generating the compile commands on the fly. If I attempt to fix it, the file just gets overwritten.&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;root ghostscript-8.62$ make so&lt;BR /&gt;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&lt;BR /&gt;make[1]: Entering directory `/root/ghostscript-8.62'&lt;BR /&gt;./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - cc -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.62&lt;BR /&gt;./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs1.o ./obj/../soobj/gs.o -s&lt;BR /&gt;cat ./obj/../soobj/ld.tr &amp;gt;&amp;gt;./obj/../soobj/ldt.tr&lt;BR /&gt;./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -ldl -lm    -lm&lt;BR /&gt;if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \&lt;BR /&gt;        XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \&lt;BR /&gt;        FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \&lt;BR /&gt;        DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \&lt;BR /&gt;        DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \&lt;BR /&gt;        DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \&lt;BR /&gt;        DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \&lt;BR /&gt;        DEVICE_DEVS_EXTRA= \&lt;BR /&gt;        /bin/sh &amp;lt;./obj/../soobj/ldt.tr&lt;BR /&gt;cc: warning 901: unknown option: `-hared': use +help for online documentation. &lt;BR /&gt;ld: Unrecognized argument: -soname&lt;BR /&gt;Fatal error.&lt;BR /&gt;make[1]: *** [bin/../sobin/libgs.so.8.62] Error 1&lt;BR /&gt;make[1]: Leaving directory `/root/ghostscript-8.62'&lt;BR /&gt;make: *** [so] Error 2&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;The resulting ldt.tr file looks like this:&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;cc -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.62 ./obj/../soobj&lt;BR /&gt;/gsromfs1.o ./obj/../soobj/gs.o ./obj/../soobj/gp_getnv.o \&lt;BR /&gt;./obj/../soobj/gp_unix.o \&lt;BR /&gt;./obj/../soobj/gp_unifs.o \&lt;BR /&gt;  &amp;amp;etc.&lt;BR /&gt;----&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jul 2008 18:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223372#M676389</guid>
      <dc:creator>Main Group</dc:creator>
      <dc:date>2008-07-01T18:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Link error building ghostscript 8.62 shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223373#M676390</link>
      <description>P.S. I do not find a libgs in any of the Makefiles in the ghostscript-8.62 tree.&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jul 2008 19:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223373#M676390</guid>
      <dc:creator>Main Group</dc:creator>
      <dc:date>2008-07-01T19:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Link error building ghostscript 8.62 shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223374#M676391</link>
      <description>&amp;gt;It seems to be auto-generating the compile commands on the fly.&lt;BR /&gt;&lt;BR /&gt;Is there a configure script that you can tell you are using HP-UX?&lt;BR /&gt;Otherwise you'll need to edit ldt.tr.</description>
      <pubDate>Tue, 01 Jul 2008 21:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223374#M676391</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-01T21:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Link error building ghostscript 8.62 shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223375#M676392</link>
      <description>&amp;gt;&amp;gt;It seems to be auto-generating the compile commands on the fly.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is there a configure script that you can tell you are using HP-UX?&lt;BR /&gt;&amp;gt;Otherwise you'll need to edit ldt.tr.&lt;BR /&gt;&lt;BR /&gt;Alas I already tried that. Unfortunately it is generating ldt.tr during the make, so it overwrites my changes.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 16:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-building-ghostscript-8-62-shared-library/m-p/4223375#M676392</guid>
      <dc:creator>Main Group</dc:creator>
      <dc:date>2008-07-23T16:31:28Z</dc:date>
    </item>
  </channel>
</rss>

