OpenWrt Forum Archive

Topic: bind-server: can't load 'liblwres.so.30'

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi@ll,

I want to use my fonera as my internal DNS with bind. But if I try to start the bind I get the folling error message.

root@fonera:/etc/bind# /etc/init.d/named start
Starting isc-bind
/usr/sbin/named: can't load library 'liblwres.so.30'
root@fonera:/etc/bind#

After some googleing I found this here. https://dev.openwrt.org/ticket/2454. So I made an ipkg update && ipkg upgrade, but that didn't solved my problem.

So can anyone say me what I have to install, so that all neccessary files are avalible ???

regards
j0inty.sL

Bind Config

options
{
    directory "/etc/bind";
    forwarders {
        217.9.16.14;
        193.158.124.58;
        194.183.128.35;
        192.168.0.1;
    };
    listen-on-v6 { none; };
    listen-on { any; };
    pid-file "/tmp/named.pid";
    statistics-file "/tmp/named.stats";
    dump-file "/tmp/named.dump";
    zone-statistics yes;
    allow-recursion { any; };
    allow-query { any; };
}
zone "." {
        type hint;
        file "/etc/bind/db.root";
};
zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};
zone "<myDmoain>" {
        type master;
        file "/etc/bind/<myDomain>.zone";
};
zone "192.168.0.in-addr.arpa" {
        type master;
        file "/etc/bind/<myDomain>.0.168.192";
};

up!!!!!!!!!!!!!!!!

I have the same problem!!!!

openwrt: openwrt-brcm-2.4-squashfs.trx
11.01.2008

#uname -a
Linux real 2.4.34 #3 Sun Sep 30 20:33:21 CEST 2007 mips unknown
#ipkg update
#ipkg install bind-server
#/etc/init.d/named start
Starting isc-bind
/usr/sbin/named: can't load library 'liblwres.so.30'
ldd /usr/sbin/named
        liblwres.so.30 => not found
        libdns.so.32 => not found
        libbind9.so.30 => not found
        libisccfg.so.30 => not found
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x2aaed000)
        libisccc.so.30 => not found
        libisc.so.32 => not found
        libnsl.so.0 => /lib/libnsl.so.0 (0x2ac2e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ac6f000)
        libc.so.0 => /lib/libc.so.0 (0x2acbe000)
        libdl.so.0 => /lib/libdl.so.0 (0x2ad65000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)

something like that: https://dev.openwrt.org/ticket/2514
https://dev.openwrt.org/changeset/9308

and what i need to do? :-((

You have to compile the packages by yourself or wait for a new release. In later revisions this bug is fixed in subversion.

Installing a self compiled bind package:

root@OpenWrt:~# ipkg install bind-server
Installing bind-server (9.4.1-1) to root...
Downloading ftp://192.168.0.50/builds/trunk_webcam/packages/./bind-server_9.4.1-1_mipsel.ipk
Installing bind-libs (9.4.1-1) to root...
Downloading ftp://192.168.0.50/builds/trunk_webcam/packages/./bind-libs_9.4.1-1_mipsel.ipk
Configuring bind-libs
Configuring bind-server
Done.
root@OpenWrt:~# ldd /usr/sbin/named
        liblwres.so.30 => /usr/lib/liblwres.so.30 (0x2aaee000)
        libdns.so.32 => /usr/lib/libdns.so.32 (0x2ab3e000)
        libbind9.so.30 => /usr/lib/libbind9.so.30 (0x2acad000)
        libisccfg.so.30 => /usr/lib/libisccfg.so.30 (0x2acf6000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x2ad48000)
        libisccc.so.30 => /usr/lib/libisccc.so.30 (0x2ae89000)
        libisc.so.32 => /usr/lib/libisc.so.32 (0x2aed0000)
        libnsl.so.0 => /lib/libnsl.so.0 (0x2af52000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2af94000)
        libc.so.0 => /lib/libc.so.0 (0x2afe3000)
        libdl.so.0 => /lib/libdl.so.0 (0x2b08b000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
root@OpenWrt:~#

(Last edited by forum2008 on 11 Jan 2008, 14:36)

forum2008 wrote:

You have to compile the packages by yourself or wait for a new release. In later revisions this bug is fixed in subversion.

Installing a self compiled bind package:

Well, i can compile the packages... but i don't know how. Is there some instructions? or (if you have the same package) can you share it?

hi

root@fonera:~# ldd /usr/sbin/named
        liblwres.so.30 => not found
        libdns.so.32 => not found
        libbind9.so.30 => not found
        libisccfg.so.30 => not found
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x2aaed000)
        libisccc.so.30 => not found
        libisc.so.32 => not found
        libnsl.so.0 => /lib/libnsl.so.0 (0x2ac2e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ac6f000)
        libc.so.0 => /lib/libc.so.0 (0x2acbf000)
        libdl.so.0 => /lib/libdl.so.0 (0x2ad63000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)

^Let's wait on White Russian wink

j0inty wrote:

hi

root@fonera:~# ldd /usr/sbin/named
        liblwres.so.30 => not found
        libdns.so.32 => not found
        libbind9.so.30 => not found
        libisccfg.so.30 => not found
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x2aaed000)
        libisccc.so.30 => not found
        libisc.so.32 => not found
        libnsl.so.0 => /lib/libnsl.so.0 (0x2ac2e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ac6f000)
        libc.so.0 => /lib/libc.so.0 (0x2acbf000)
        libdl.so.0 => /lib/libdl.so.0 (0x2ad63000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)

^Let's wait on White Russian wink

Well... we can wait and will .... :-))

But i need BIND server :-)

Somebody have instructions HOWTO compile it ???

Hi,
I need them, too. But what should I do ???

To use the "embedded system" (always running wink ) as DNS (for local network), rockZ.....but doesn't work at time....

regards
j0inty

Up!

Allow me to bump this issue up once more. The bind-libs package installs liblwres.so.40, but bind-server needs/requires liblwres.so.30 (Something similar is true for the other libs). Is there a way to fix this? I'm assuming versions 30 and 40 are not compatible, so I can't just make a symlink to the new version, right?

Thanks,

Jeroen

I've encountered this one too some time ago and just stuck with the old version of bind that worked (bind 9.3.2 I think it was) waiting for the next version of Kamikaze to be released so the repository would be updated as well. That was until the Kaminsky exploit when I just went ahead and built my own package for bind 9.5.0-P2. If anyone's interested, I can post it somewhere for you to grab (built for Kamikaze 7.09, kernel 2.4 on Asus WL-500gP).

(Last edited by nth on 8 Sep 2008, 16:33)

If you could do that, that would be awesome, as I also have a WL-500gP. I installed PacketProtector 2.4 on it, so that should work AFAIK.

Thanks in advance!

Jeroen

You rock! It took some experimenting, but I've got it working now.

Thanks!

Jeroen

The discussion might have continued from here.