Using ldconfig!!
Hi to all,
I wanted to ask how do we use ldconfig..I'm having problems installing many packages on Fedora Core 5 with an upgraded kernel of 2.6.20.4. The kernel 2.6.20.4 was installed in the /usr/src. Packages like ebtables-v2.0.8-rc3.tar, libnetfilter_conntrack-0.0.50.tar...are not getting installed. I've installed the ebtables package in /usr/src. I do make && make install. When I issue the command ebtables -L, I get the following error: Quote:
Quote:
Quote:
Thx in advance.. Warm regards, Visham |
hi,
ldconfig is used for dynamic linking.First u have to put the path in /etc/ld.so.conf and execute the command ldconfig.I used it for linking Xine-lib and gui but that was a year back, as i currently using yum. make sure u have correct path variable set and dependencies resolved or installed. regards, nirmal Tom. |
Hi to all,
WHen I issued the command below, I got the following output: Quote:
Quote:
Quote:
The output was: Quote:
Quote:
Quote:
Pls help.. Warm regards, Visham |
hi,
include ld.so.conf.d/*.conf the above line , i think is used for recursiveness try including that too./usr/local/lib is enough regards, Nirmal Tom. |
I tried every combination possible, but no success..think will have to try Fedora Core 6. If that doesnt work, well, then I believe I'll have to move to another distribution :(
MAny thx to all who have tried to help.. Regards, Visham |
Quote:
Then run "sudo /sbin/ldconfig". After modprobing the kernel modules you installed, you might also want to run "depmod -a" and "mkinitrd" as well. They may add the modules to your initrd. Also check if you need entries in /etc/modprobe.d/ or /etc/modprobe.conf or /etc/modprobe.conf.local. The documentation for eb_tables should tell you. However, Code:
ebtables: error while loading shared libraries: /usr/lib/ebtables/libebtc.so: cannot restore segment prot after reloc: Permission denied |
Dear jschiwal ,
Quote:
Quote:
Quote:
Quote:
|
I thought that ebtables installed a netfilter hook or kernel module. Looking at the kernel source, I see that they are already there. You may need to modprobe modules such as bridge, ebtables and ebtables_broute. The exact modules you need may depend on what you want to do.
Take a look at the kernel modules in /net/bridge/netfilter/. If you built this kernel, did you select the modules that you need? I noticed that for SuSE, there is a package for the userland ebtables command. Is the same true for Fedora Core? You might try searching for one at the http://rpm.pbone.net website. Filter the search for your particular Distro and version. Some of links on this site may be useful: http://ebtables.sourceforge.net/documentation.html#what |
hi
make install KERNEL_INCLUDES=[kernel path] is kernel headers installed?if so , try its path using above! regards, Nirmal Tom. |
Hi to all,
I've been using the ebtables software for quite some time now..I did what I normally do when I install the ebtables package (like selecting kernel options, ebtables compiling steps..). It is actually the first time I got such errors. Markkuk from the FedoraForum.org told me that it may be due to SELinux being used. The use of this command corrected the ebtables error: Quote:
I googled for the error I got and I saw some posts in other posts regarding this..but there too, no solution. Any thought on what the problem might be? MAny thx to all for trying to help me out.. Warm regards, Visham |
Hi to all,
Do we have to upgrade gcc on Fedora Core 5? I got a message during kernel compilation saying that gcc version 4.1.0 causes errors when compiling. Warm regards, Visham |
Hi to all,
I managed to get libnfnetlink-0.0.25 and libnetfilter_conntrack-0.0.50 installed by doing this: Quote:
Quote:
Warm regards, Visham |
hi,
is the package intended for the kernel version u r running? regards, Nirmal Tom |
yes it requires at least a 2.6.18 kernel. I dont know how to corect this. I like using Fedora Core but I think i'll have to shift to another distribution like Debian or kubuntu.
Regards, Visham |
hi,
if u dont find a stable release for ur updated kernel, try downloading the development packages for the software using svn ,cvs or git they support.Bcaz all the projects are maintained to be in support with the mainline kernel. regards, Nirmal Tom. |
All times are GMT -5. The time now is 08:40 AM. |