info-inventor
[Top] [All Lists]

Re: Compilation problems on Linux

To: Szilveszter Juhos <racetrout@xxxxxxxxxxx>
Subject: Re: Compilation problems on Linux
From: Jarek Rzepecki <jarekr@xxxxxxxx>
Date: Mon, 16 Sep 2002 15:51:50 -0500 (CDT)
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <freemail.20020816222952.15108@xxxxxxxxxxxxxxx>
Sender: info-inventor-bounce@xxxxxxxxxxx
Hello!,

> i) to be root for compilation
> Though there is nothing but lazyness to prevent me to make a
> proper automake/autoconf setup, I found it strange.
You don't have to be root to install OIV
>
> ii) no yacc -> that's OK with bison and with
> $ cd /home/mama/inst/inventor/lib/database/src/so/engines
> $ cp SoCalcParse.tab.c y.tab.c
>  and make install can go further until
>
Install bison and it should be ok (without coping anything...)

> iii) no -ldl
> ~/inst/inventor/doc/man/ivman $ /usr/bin/g++  -L//usr/lib
> -L/usr/X11R6/lib  Main.o ClassDef.o Man.o Reader.o Writer.o
> BuildIssues.o           -lInventor  -o ivman
> //usr/lib/libInventor.so: undefined reference to `dlopen'
> //usr/lib/libInventor.so: undefined reference to `dlsym'
> collect2: ld returned 1 exit status
>
Yes you should add -ldl to Makefile
> it can be fixed with adding -ldl but the result is:
>
> iv)
> $ ./ivman
> ./ivman: error while loading shared libraries: unexpected
> PLT reloc type 0x00
>
That's strange... are you sure you compiled everything with the same
version on gcc?

Cheers,
        Jarek


<Prev in Thread] Current Thread [Next in Thread>