linking problem

Gansser, Martin MGansser@rand.de
Wed, 21 Aug 2002 17:44:49 +0200


gmake install didn't the job it only copy the script and not the executable=
 to /opt/gnucash/bin

prounix_root:/users/mgansser/GNU/gnucash-1.6.7/src/.libs # file gnucash
gnucash:        PA-RISC1.1 shared executable dynamically linked -not stripp=
ed

if I do 'cp src/.libs/gnucash /opt/gnucash/bin'

gnucash-1.6.7 start on hpux-11.00 but with some warnings:

prounix_root:/opt/gnucash/bin # ./gnucash
Plug-in guppi_axis.so not found
Plug-in guppi_background.so not found
Plug-in guppi_barchart.so not found
Plug-in guppi_boxplot.so not found
Plug-in guppi_compass_box.so not found
Plug-in guppi_frame.so not found
Plug-in guppi_image.so not found
Plug-in guppi_legend.so not found
Plug-in guppi_linechart.so not found
Plug-in guppi_linegraph.so not found
Plug-in guppi_pie.so not found
Plug-in guppi_pricebars.so not found
Plug-in guppi_scatter.so not found
Plug-in guppi_text.so not found
Plug-in guppi_xybox.so not found

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWindow'


on hpux the shared libraries historicaly have the suffix .sl not .so

how can this be changed ?

thanks Martin

> rm -rf /opt/gnucash
> gmake install
>=20
> For me, this installs a _binary_ into the destination bin/gnucash
>=20
> -derek
>=20
> "Gansser, Martin" <MGansser@rand.de> writes:
>=20
> > this is the source directory, in this directory I build gnucash:
> >=20
> > /users/mgansser/GNU/gnucash-1.6.7
> >=20
> > this is my build script.
> >=20
> > gmake distclean
> > ./configure --prefix=3D/opt/gnucash --with-glib-prefix=3D/opt/gnome \
> >             --with-gnome-includes=3D/opt/gnome/includes \
> >             --with-gnome-libs=3D/opt/gnome/lib \
> >             --with-g-wrap-prefix=3D/usr/local \
> >             --enable-opt-style-install \
> >             --with-libguppi-prefix=3D/opt/gnome --disable-libguppitest
> > gmake clean all install
> >=20
> > Martin
> >=20
> > > -----Original Message-----
> > > From: Derek Atkins [mailto:warlord@MIT.EDU]
> > > Sent: Wednesday, August 21, 2002 5:26 PM
> > > To: Gansser, Martin
> > > Cc: gnucash-devel@lists.gnucash.org
> > > Subject: Re: linking problem
> > >=20
> > >=20
> > > you didn't answer my question:
> > >=20
> > > > > Where did you build gnucash?
> > >=20
> > > -derek
> > >=20
> > > "Gansser, Martin" <MGansser@rand.de> writes:
> > >=20
> > > > gnucash isn't a executable
> > > >=20
> > > > # file /opt/gnucash/bin/gnucash
> > > > /opt/gnucash/bin/gnucash:       commands text
> > > >=20
> > > > # config.guess
> > > > hppa2.0w-hp-hpux11.00
> > > >=20
> > > > Martin
> > > >=20
> > > > > Where did you build gnucash?
> > > > > This sounds like make install didn't work right...
> > > > >=20
> > > > > For me:
> > > > > ~> file /opt/gnucash/bin/gnucash
> > > > > /opt/gnucash/bin/gnucash: ELF 32-bit LSB executable, Intel=20
> > > > > 80386, version 1, dynamically linked, not stripped
> > > > >=20
> > > > > -derek
> > > > >=20
> > > > > "Gansser, Martin" <MGansser@rand.de> writes:
> > > > >=20
> > > > > > always the same messages:
> > > > > >=20
> > > > > > start message as root:
> > > > > >=20
> > > > > > # /opt/gnucash/bin/gnucash
> > > > > > /opt/gnucash/bin/gnucash: error:=20
> > > > > /opt/gnucash/bin/.libs/gnucash does not exist
> > > > > > This script is just a wrapper for gnucash.
> > > > > > See the libtool documentation for more information.>=20
> > > > > >=20
> > > > > > Martin
> > > > >=20
> > > > > --=20
> > > > >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media=20
> Laboratory
> > > > >        Member, MIT Student Information Processing=20
> Board  (SIPB)
> > > > >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA=20
>     N1NWH
> > > > >        warlord@MIT.EDU                        PGP key=20
> available
> > > > >=20
> > > > _______________________________________________
> > > > gnucash-devel mailing list
> > > > gnucash-devel@lists.gnucash.org
> > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > >=20
> > > --=20
> > >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > >        Member, MIT Student Information Processing Board  (SIPB)
> > >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> > >        warlord@MIT.EDU                        PGP key available
> > >=20
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel@lists.gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>=20
> --=20
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
>=20