[OmniOS-discuss] Compiling runtime/perl-$NODOTVER

Filip Francis filip.francis at telenet.be
Thu Oct 4 14:19:53 EDT 2012


Eric thanks
Again.


Had some weird things going with building system/zones/brand/ipkg
It always stopped at the following error:
gcc    -o support support.c /usr/lib/libzonecfg.so.1
ld: warning: file libdladm.so.1: required by /usr/lib/libdlpi.so.1, not 
found
Undefined                       first referenced
  symbol                             in file
dladm_close                         /usr/lib/libdlpi.so.1
dladm_dev2linkid                    /usr/lib/libdlpi.so.1
dladm_phys_info                     /usr/lib/libdlpi.so.1
dladm_walk                          /usr/lib/libdlpi.so.1
dladm_open                          /usr/lib/libdlpi.so.1
dladm_parselink                     /usr/lib/libdlpi.so.1
ld: fatal: symbol referencing errors. No output written to support
collect2: ld returned 1 exit status


So i changed the following ( I am not a programmer)
 From BRAND_CFLAGS="-I./gate-include " to BRAND_CFLAGS="-I./gate-include 
-R/lib -L/lib"
and all lines that contains ISALIST=i386 CC=gcc   to ISALIST=i386 CC=gcc 
CFLAGS="$BRAND_CFLAGS"

Then it would compile

Regards
Filip Francis

On 10/ 4/12 07:33 PM, Eric Sproul wrote:
> On Thu, Oct 4, 2012 at 10:28 AM, Filip Francis <filip.francis at telenet.be> wrote:
>> ERic,
>> Thanks for the aswer yeah that works indeed figured that out.
>> What should be the defaukt shekk in what you are compiling?
>> I am using ksh
> Filip,
> Our build scripts typically use bash and declare it explicitly at the
> top of the script, so it shouldn't matter what shell you are using.
>
> Eric
>



More information about the OmniOS-discuss mailing list