[odb-users] stuck with installation of libodb-oracle-2.5.0-b.23

roberto minarelli roberto.minarelli.de at gmail.com
Tue May 16 06:09:17 EDT 2023


Dear odb user,
following the advice I follow the instruction and successfully installed
either odb either the libod
version 2.5.0-b.23

I know it's the first time I use bpkg so I don't know all its parameters
The fact is that whenever I try to build and install libodb-oracle I got
always an error

If I give this configuration
bpkg create -d libodb-gcc-8 cc  \
  config.cxx=g++                  \
  config.cc.coptions=-O3          \
  config.install.root=/usr/local  \
  config.install.sudo=sudo \
  config.import.liboci=$ORACLE_HOME

this is the error I got

bpkg build libodb-oracle
libodb-oracle-2.5.0-b.23.tar.gz
 100%[==========================================================================>]
 87.25K  --.-KB/s    in 0.05s
fetched libodb-oracle/2.5.0-b.23
unpacked libodb-oracle/2.5.0-b.23
libodb-oracle-2.5.0-b.23/odb/oracle/buildfile:9:21: error: unable to
determine src_root for imported liboci
  info: consider configuring $ORACLE_HOME

I try to put the $ORACLE_HOME inside the configuration

bpkg create -d libodb-gcc-8 cc  \
  config.cxx=g++                  \
  config.cc.coptions=-O3          \
  config.install.root=/usr/local  \
  config.install.sudo=sudo \
  config.ORACLE_HOME=$ORACLE_HOME \
  config.import.liboci=$ORACLE_HOME

and the result is an error
libodb-gcc-8/build/config.build: warning: dropping no longer used variable
config.ORACLE_HOME

How should I configure bpkg in order to have a succesful installation of
the libodb-oracle?

Thanks a lot

Best regards

Roberto Minarelli Della Valle


More information about the odb-users mailing list