[uClibc]POSTFIX with UCLIBC
Nguyen Binh Phuong
phuong at tlnet.com.vn
Tue Jul 16 02:59:21 UTC 2002
> Did you compile Berkeley_DB vs uClibc and install that library
> into the directory with your other uClibc libraries?
>
> -Erik
>
> --
> Erik B. Andersen http://codepoet-consulting.com/
Dear Andersen,
Ofcourse, I compiled Berkeley_DB successfuly with uClibc before I compile
postfix-1.1.10 package with uClibc , and I installed Berkeley_DB into
/home/phuong/usr directory.
In postfix-1.1.10 package,
1/ Firstly, I edit makedefs file :
...
Linux.2*) SYSTYPE=LINUX2
for name in resolv
do
test -e /usr/i386-linux-uclibc/lib/lib$name.a -o -e
/usr/i386-linux-uclibc/lib/lib$name.so \
-o -e /home/phuong/usr/lib/lib$name.a -o -e
/home/phuong/usr/lib/lib$name.so \
&& SYSLIBS="$SYSLIBS -l$name"
done
;;
...
(I attach this file here)
2/Secondly, I type the following command:
make makefiles CCARGS="-DHAS_DB -I/home/phuong/usr/include"
AUXLIBS="-L/home/phuong/usr/lib -ldb-4.0"
3/Thirdly, I compile and cat the compiling process to a log file (make
>make.log ):
Ofcourse, it had generated may errors. But I fixed them. When it finish
compiling process, it generates the following warning (only one warning) to
the screen:
./postconf: can't load library 'libdb-4.0.so'
You know, 'libdb-4.0.so' is located in /home/phuong/usr/lib. When I type:
ldd libdb-4.0.so
it generates:
libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0
I do not know why it can not load libdb-4.0.so dynamic library.
Please note: I use uClibc-0.9.11. I guest uClibc-0.9.11 don't work perfectly
with dynamic library. Do you think so?
So far, uClibc-0.9.12 generates some errors when I tar uClibc-0.9.12
(tar -jxvf uClibc-0.9.12.tar.bz2)
I attach here 2 files: makedefs and Makefile.
Please help me fix this problem.
Thanhs in advance,
Nguyen Binh Phuong
Sunyard-VN Company
Phone: 9701566
Email: phuong at tlnet.com.vn
Homepage: http://members.tlnet.com.vn/~phuong/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makedefs.dat
Type: application/octet-stream
Size: 8535 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20020715/88eae620/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.dat
Type: application/octet-stream
Size: 2358 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20020715/88eae620/attachment-0001.obj
More information about the uClibc
mailing list