<?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 correct way of linking postgresql from iexpress (32 vs. 64bit)? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780251#M99420</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I had the following command fail during a software build:&lt;BR /&gt;&lt;BR /&gt;/opt/gcc343/pa20_64/bin/g++  -O -L../lib -L../cats -L../findlib -o bscan bscan.o block.o device.o dev.o label.o ansi_label.o dvd.o ebcdic.o autochanger.o acquire.o mount.o record.o match_bsr.o parse_bsr.o reserve.o butil.o read_record.o stored_conf.o spool.o wait.o \&lt;BR /&gt; -lsql -L/opt/iexpress/postgresql/lib -lpq -lz -lfind -lbac -lm -lpthread -lgen &lt;BR /&gt;/opt/iexpress/postgresql/lib/libpq.sl: file not recognized: File format not recognized&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my environment is set as follows:&lt;BR /&gt;export PATH=/opt/gcc343/pa20_64/bin:/usr/local/bin:$PATH&lt;BR /&gt;export MAKE=gmake&lt;BR /&gt;export CC=gcc&lt;BR /&gt;&lt;BR /&gt;Upon checking I could see that /opt/iexpress/postgresql/lib/libpq.sl is a 32bit PA-RISC 1.0 library, while /opt/iexpress/postgresql/lib/pa20_64/libpq.sl is the 64bit version I need.&lt;BR /&gt;&lt;BR /&gt;As my software is usually only supplied a base path (i.e. /opt/iexpress/mysql), I'm really curious to what the right way[tm] is in such a situation?&lt;BR /&gt;&lt;BR /&gt;If I hadn't set out to resolve all issues on the way, I'd just move everything from lib/pa20_64/ to lib :)&lt;BR /&gt;&lt;BR /&gt;Can anyone share some insight with me?</description>
    <pubDate>Mon, 01 May 2006 10:43:25 GMT</pubDate>
    <dc:creator>Florian Heigl (new acc)</dc:creator>
    <dc:date>2006-05-01T10:43:25Z</dc:date>
    <item>
      <title>correct way of linking postgresql from iexpress (32 vs. 64bit)?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780251#M99420</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I had the following command fail during a software build:&lt;BR /&gt;&lt;BR /&gt;/opt/gcc343/pa20_64/bin/g++  -O -L../lib -L../cats -L../findlib -o bscan bscan.o block.o device.o dev.o label.o ansi_label.o dvd.o ebcdic.o autochanger.o acquire.o mount.o record.o match_bsr.o parse_bsr.o reserve.o butil.o read_record.o stored_conf.o spool.o wait.o \&lt;BR /&gt; -lsql -L/opt/iexpress/postgresql/lib -lpq -lz -lfind -lbac -lm -lpthread -lgen &lt;BR /&gt;/opt/iexpress/postgresql/lib/libpq.sl: file not recognized: File format not recognized&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my environment is set as follows:&lt;BR /&gt;export PATH=/opt/gcc343/pa20_64/bin:/usr/local/bin:$PATH&lt;BR /&gt;export MAKE=gmake&lt;BR /&gt;export CC=gcc&lt;BR /&gt;&lt;BR /&gt;Upon checking I could see that /opt/iexpress/postgresql/lib/libpq.sl is a 32bit PA-RISC 1.0 library, while /opt/iexpress/postgresql/lib/pa20_64/libpq.sl is the 64bit version I need.&lt;BR /&gt;&lt;BR /&gt;As my software is usually only supplied a base path (i.e. /opt/iexpress/mysql), I'm really curious to what the right way[tm] is in such a situation?&lt;BR /&gt;&lt;BR /&gt;If I hadn't set out to resolve all issues on the way, I'd just move everything from lib/pa20_64/ to lib :)&lt;BR /&gt;&lt;BR /&gt;Can anyone share some insight with me?</description>
      <pubDate>Mon, 01 May 2006 10:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780251#M99420</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2006-05-01T10:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: correct way of linking postgresql from iexpress (32 vs. 64bit)?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780252#M99421</link>
      <description>looks like this problem is because of the&lt;BR /&gt;&lt;BR /&gt;"-L /opt/iexpress/postgresql/lib" &lt;BR /&gt;&lt;BR /&gt;in the link line. you simply have to change it to&lt;BR /&gt;&lt;BR /&gt;"-L /opt/iexpress/postgresql/lib/pa20_64"&lt;BR /&gt;&lt;BR /&gt;if you still have problems.  look at all the other paths specified with "-L" and make sure that they point to directories containing the appropriate versions of libraries.</description>
      <pubDate>Tue, 02 May 2006 00:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780252#M99421</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2006-05-02T00:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: correct way of linking postgresql from iexpress (32 vs. 64bit)?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780253#M99422</link>
      <description>And how can I achieve the same before running ./configure ?&lt;BR /&gt;Is this an LDFLAG?</description>
      <pubDate>Tue, 02 May 2006 12:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780253#M99422</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2006-05-02T12:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: correct way of linking postgresql from iexpress (32 vs. 64bit)?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780254#M99423</link>
      <description>well i'm not sure about the configure for this particular package. check if "configure --help" lists any option that configures the whole thing for 64bit.</description>
      <pubDate>Fri, 05 May 2006 07:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780254#M99423</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2006-05-05T07:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: correct way of linking postgresql from iexpress (32 vs. 64bit)?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780255#M99424</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Yes, you can export LDFLAGS and SHLIB_PATH before starting ./configure.. &lt;BR /&gt;&lt;BR /&gt;Other way is, editing the corresponding makefile to add /opt/iexpress/postgresql/lib/pa20_64&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 05 May 2006 08:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/correct-way-of-linking-postgresql-from-iexpress-32-vs-64bit/m-p/3780255#M99424</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-05-05T08:51:25Z</dc:date>
    </item>
  </channel>
</rss>

