From: Daniel Suleyman on
As for a step by step installation guide I should have it
somewhere in my backups - I'll try to find it and post it later on.

*it will be greate*

LD_LIBRARY_PATH=/home/u01/app/oracle/product/10.2.1/db1/lib32:/home/u01/app/oracle/product/10.2.1/db1/lib
/home/u01/app/oracle/product/10.2.1/db1/lib/libnjni10.so
/home/u01/app/oracle/product/10.2.1/db1/lib32/libnjni10.so


for log i will report latter.

Thank you in advance

2009/9/26 Michał Bożek <michal_bozek(a)lavabit.com>

> On Sat, 26 Sep 2009 14:19:59 +0500
> Daniel Suleyman <danikpro(a)gmail.com> wrote:
>
> > UnsatisfiedLinkError exception loading native library: njni10
>
> Now this might have various reasons... Please check the
> following:
> - is libnjni10.so present in your system? It should be in:
> $ORACLE_HOME/lib/ and $ORACLE_HOME/lib32/
> - if it is present, then does LD_LIBRARY_PATH contain the above paths?
>
> Also please check $ORACLE_HOME/install/make.log for any linking
> errors. In any case you might want to try when the libraries are
> available na LD_LIBRARY_PATH is set correctly:
>
> rm -f $ORACLE_HOME/install/make.log
> cd $ORACLE_HOME/bin
> /relink all > $ORACLE_HOME/install/make.log
>
> Regards,
> --
> Michał Bożek
>
>
From: Michał Bożek on
On Sat, 26 Sep 2009 14:19:59 +0500
Daniel Suleyman <danikpro(a)gmail.com> wrote:

> UnsatisfiedLinkError exception loading native library: njni10

Now this might have various reasons... Please check the
following:
- is libnjni10.so present in your system? It should be in:
$ORACLE_HOME/lib/ and $ORACLE_HOME/lib32/
- if it is present, then does LD_LIBRARY_PATH contain the above paths?

Also please check $ORACLE_HOME/install/make.log for any linking
errors. In any case you might want to try when the libraries are
available na LD_LIBRARY_PATH is set correctly:

rm -f $ORACLE_HOME/install/make.log
cd $ORACLE_HOME/bin
/relink all > $ORACLE_HOME/install/make.log

Regards,
--
Michał Bożek


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Michał Bożek on
On Sat, 26 Sep 2009 11:54:14 +0500
Daniel Suleyman <danikpro(a)gmail.com> wrote:

> No requiremnets, can you describe what needed to install 11G?

Apart from the package available here:
http://www.oracle.com/technology/software/products/database/oracle11g/112010_linx8664soft.html

hardware requirements got a bit higher since 10.2. 11g requires
almost 4GiB HDD space for its install plus approximately 1GiB for a
starter database. Memory and swap requirements remained the same. It
should install painlessly on a 64 bit environment, but the installer
itself still relies on 32 bit Java.

Rest of the installation setup does not differ from 10.2 as far
as I remember.

As for a step by step installation guide I should have it
somewhere in my backups - I'll try to find it and post it later on.

Regards,
--
Michał Bożek


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Daniel Suleyman on
*This errors come up now after playing wth ldconfig*

oracle@:/home/u01/app/oracle/product/10.2.1/db1/bin$ ./relink all > test
cp: cannot stat `/DISCARD/': No such file or directory
ar: creating /home/u01/app/oracle/product/10.2.1/db1/lib/libclntst10.a
cp: cannot stat `/DISCARD/': No such file or directory
ar: creating /home/u01/app/oracle/product/10.2.1/db1/lib32/libclntst10.a
mv: `ldapdelete' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapdelete' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapmodify' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapmodify' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapmodifymt' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapmodifymt' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapadd' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapadd' are
the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapaddmt' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapaddmt'
are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapsearch' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapsearch' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `dsml2ldif' and `/home/u01/app/oracle/product/10.2.1/db1/bin/dsml2ldif'
are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapcompare' and
`/home/u01/app/oracle/product/10.2.1/db1/bin/ldapcompare' are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapbind' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapbind'
are the same file
make: [inst_clientonly] Error 1 (ignored)
mv: `ldapmoddn' and `/home/u01/app/oracle/product/10.2.1/db1/bin/ldapmoddn'
are the same file
make: [inst_clientonly] Error 1 (ignored)
/home/u01/app/oracle/product/10.2.1/db1/lib//libcore10.a(slftmp.o): In
function `SlfTmpnam':
slftmp.c:(.text+0x10): warning: the use of `tmpnam_r' is dangerous, better
use `mkstemp'
/usr/bin/find: `/home/u01/app/oracle/product/10.2.1/db1/lib32/.1.0': Too
many levels of symbolic links
/usr/bin/find: `/home/u01/app/oracle/product/10.2.1/db1/lib/.1.0': Too many
levels of symbolic links
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/snmccolm.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmccol.a(nmccole.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbuft.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbufw.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbufu.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(snmcbufm.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/libnmcbuf.a(nmcbuff.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib//libnmadbg.a(nmadbg.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file
`/home/u01/app/oracle/product/10.2.1/db1/sysman/lib//libnmadbg.a(snmadbg.o)'
is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
make[1]: ***
[/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/nmccollector] Error 1
make: *** [nmccollector] Error 2
/home/u01/app/oracle/product/10.2.1/db1/lib32//libclntsh.so: undefined
reference to `nnfyboot'
/home/u01/app/oracle/product/10.2.1/db1/lib32//libclntsh.so: undefined
reference to `nnfoboot'
collect2: ld returned 1 exit status
make[1]: *** [/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/e2eme]
Error 1
make: *** [e2eme] Error 2
/home/u01/app/oracle/product/10.2.1/db1/lib32//libagtsh.so: undefined
reference to `nnfyboot'
collect2: ld returned 1 exit status
make[1]: *** [/home/u01/app/oracle/product/10.2.1/db1/rdbms/lib/extproc32]
Error 1
make: *** [extproc32] Error 2
gcc: unrecognized option '-h'
gcc: unrecognized option '-h'
gcc: unrecognized option '-h'




*ldconifgs*

oracle@:/home/u01/app/oracle/product/10.2.1/db1/bin$ ls /etc/ld.so.conf.d/*
/etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/local-32bit.conf
/etc/ld.so.conf.d/x86_64-linux-gnu.conf

oracle@:/home/u01/app/oracle/product/10.2.1/db1/bin$ cat /etc/ld.so.conf.d/*
# libc default configuration
/usr/local/lib
/usr/lib

/home/u01/app/oracle/product/10.2.1/db1/lib32/
# Multiarch support
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu



2009/9/26 Michał Bożek <michal_bozek(a)lavabit.com>

> On Sat, 26 Sep 2009 15:15:29 +0500
> Daniel Suleyman <danikpro(a)gmail.com> wrote:
>
> > As for a step by step installation guide I should have it
> > somewhere in my backups - I'll try to find it and post it later on.
> >
> > *it will be greate*
>
> Should be attached to the massage. It's been done a graphical
> install, though it should not be a major difference.
>
> >
> LD_LIBRARY_PATH=/home/u01/app/oracle/product/10.2.1/db1/lib32:/home/u01/app/oracle/product/10.2.1/db1/lib
> > /home/u01/app/oracle/product/10.2.1/db1/lib/libnjni10.so
> > /home/u01/app/oracle/product/10.2.1/db1/lib32/libnjni10.so
>
> Those look OK. Maybe the log file will tell something more.
>
> Regards,
> --
> Michał Bożek
>
From: Michał Bożek on
On Sat, 26 Sep 2009 22:07:02 +0500
Daniel Suleyman <danikpro(a)gmail.com> wrote:

> oracle@:/home/u01/app/oracle/product/10.2.1/db1/bin$ ./relink all >
> test cp: cannot stat `/DISCARD/': No such file or directory

I haven't got a 10.2 install at hand at the moment - does any
of the *.mk files reference the /DISCARD/ directory? Executing

cd $ORACLE_BASE
for FILE in `find -name *mk*`; do grep DISCARD $FILE; done

should give you a list of such makefiles. If any of them does, please

> /usr/bin/ld: i386 architecture of input file
> `/home/u01/app/oracle/product/10.2.1/db1/sysman/lib/snmccolm.o' is
> incompatible with i386:x86-64 output

This set of errors is more worrying - looks like you're trying
to link 32 and 64 bit binaries. It seems, that at least part of the
package is 32 bit. It's guaranteed to conflict with a 64 bit system.

Regards,
--
Michał Bożek


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org