After Rebuild Of Tslib Qt Failed With Error Ts_config() 'no Such File Or Dir'

I downloaded tslib-1.1.tar.gz and configured to cross compiled for my ARM target machine.

Was able to build and make install on my Ubuntu host machine successfully. On my taget machine I copied created a backup of my original libts-1.0.so.0.0.0 and SFTP'd from my host the version I built to my target machine and over wrote current libts-1.0.so.0.0.0 to keep the links.
reboot my taget and now get

QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such file or directory'
Please check your tslib installation!

running ldd on the taget against the backup (.bu version) and new versions shows the same dependancies.

root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)
root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0.bu
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)

Using nm verified ts_config() existed in the new version.

Any suggestions why I am getting the error?


Similar Content



Circular Dependencies When Trying To Install Glibc, Glibc-common And Others

Any tips/tricks on how and what order I should be installing the RHEL6 packages so that I don't get dependency errors would be much appreciated.

I have sudo access (unrestricted I think) to a Linux VM running RHEL 6.3. I am trying to install an IBM product which requires KSH along with a bunch of Linux packages (both 32-bit and 64-bit versions) before it can install properly. Minimal documentation for installing on a Linux environment from IBM.

Many of the packages I am trying to install gives me a dependency failu

rpm -ivh nss-softokn-freebl-3.14.3-22.el6_6.i686.rpm
error: Failed dependencies:
libc.so.6 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.7) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686

When I try to install GLIBC I get the following dependency failu

glibc-common = 2.12-1.149.el6_6.9 is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.149.el6_6.9.i686

And another dependency failure when installing glibc-common:
glibc = 2.12-1.149.el6_6.9 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.10) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.2) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libcap.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686

Should I be downloading earlier versions of glibc from the Red Hat site? Please note, I installed the x86_64-bit versions of the required packages with no issues... just getting stuck on the 32-bit components.

Also, this system is internal facing and has no route out to RHN so yum installs automatically return errors, which is why I am stuck using rpm.

Thanks in advance!

Dlopen Failed To Open 'libdl.so ERROR

Hi,

I am new to using linux and using it just to run cadence virtuoso software. I mount the /apps directory from another server to my pc and then source cadence setup file. However, i get the following error.


[fulhaq@mypc Desktop]$ tcsh
[fulhaq@mypc ~/Desktop]$ source /apps/cadence/setup.csh
[fulhaq@mypc ~/Desktop]$ virtuoso &
2631
[fulhaq@mypc ~/Desktop]$ dlopen failed to open 'libdl.so'

Can somebody suggest how i can remove this error. Do i have to install libdl.so file. if yes then how?

How To Use DPDK Inside Linux Containers?

Hi,
I am trying to use DPDK inside containers.

While running any example application in a container, I am getting the below error.
EAL: 20480 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
PANIC in rte_eal_init():
Cannot get hugepage information
6: [./build/l2fwd() [0x402a49]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7ffff761776d]]
4: [./build/l2fwd() [0x402093]]
3: [./build/l2fwd() [0x45f3bf]]
2: [./build/l2fwd() [0x401fd9]]
1: [./build/l2fwd() [0x464dd3]]
Aborted (core dumped)


The problem is with hugepages. I have allocated memory for hugepages in host. And it is visible in containers.
But while accessing hugepages through containers, it's giving the error, permission denied.

My host machine has Ubuntu 12.04.
DPDK version 1.7

Please let me know, if I miss any info to be provided.

Any help would be greatly appreciated.

Thank you

File Transfer Through UART Between Linux Host And Embedded Linux Target

Hi,

I have a target board running embedded Linux, and a host PC that runs Ubuntu. I want to be able to transfer files from the host PC to the target board through serial interface, (something like I have a terminal program on the host side that talks to the target, and I issue some command from the terminal to transfer a file to the target, the target receive the file and store it in some RAM location for later), How can I do it?
I know how to do this using ymodem on the host terminal and loady on target's u-boot command prompt, but how can I do it when target is running Linux?

Thank you all,
Wei

Error: Libtool Configure Failed

Hi,
After extracting mysql-3.23.40.tar.gz
cd mysql-3.23.40/

Then
mysql-3.23.40]# ./configure --prefix=~/MySQL --with-mysqld-user=generic_user
loading cache ./config.cache
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking target system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configu error: libtool configure failed

Help!!!!!!!!

Regarding Cross Compilation Of Ntp

hi all,
I am new to cross compilation .I am trying to cross compile ntp for arm based zync soc board. so i have downloaded ntp source code version ntp-4.2.8-p2

i gave options for confiure file like this ./configure --host=arm-xilinix-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/home/sntp CC=arm-xilinx-linux-gnueabi-gcc -with-yeilding-select=yes
configuration is succesful but when i am going for make it is throwing an error like this

cd ./html && \
../scripts/build/checkHtmlFileDates
cd . && \
./scripts/build/checkChangeLog
make all-recursive
make[1]: Entering directory `/home/SNTP/ntp-4.2.8p2'
Making all in sntp
make[2]: Entering directory `/home/SNTP/ntp-4.2.8p2/sntp'
[ ! -r ./../COPYRIGHT ] \
|| [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] \
|| make check-COPYRIGHT-submake
cd ../libntp && make libntp.a
make[3]: Entering directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
CC systime.o
In file included from ../include/ntp.h:14:0,
from systime.c:9:
../include/ntp_crypto.h:27:25: fatal error: openssl/evp.h: No such file or directory
#include "openssl/evp.h"
^
compilation terminated.
make[3]: *** [systime.o] Error 1
make[3]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/libntp'
make[2]: *** [../libntp/libntp.a] Error 2
make[2]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2/sntp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sumanth/SNTP/ntp-4.2.8p2'
make: *** [all] Error 2

suggest me how to fix this?

Regards
sumanth

Rpm Not Working

Hi All,

I am having RHEL 5.4 64-bit OS. When I run the command "rpm --help" I get the following error. Please help:

rpm: /usr/lib64/libpopt.so.0: no version information available (required by rpm)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmbuild.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpm.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmio.so.1)
rpm: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib64/liblua-5.1.so)
rpm: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib64/liblua-5.1.so)

Thanks in advance.

Moving A Compiled App To Another Machine

Hello,

I downloaded source code for Sage math application and compiled (make command) it on a test Centos 6.4. Did some testing and all. Can I move the directory to another machine with the same Centos version?

http://www.sagemath.org/doc/installa...er-environment


Thanks,
TT

How To Recover From A Botched Graphics Card Driver Install

OK,

Lastnight I decided to finally attempt to install the dedicated ATI/AMD Catylist drivers. After all I was successfull with the HP drivers, right...

No matter which grub selection I make, getting in is broken, except of course for the Windows XP Pro x64 entry, that works just fine. I'm here with you today, because of the Fedora 21 Live DVD, (slooooww).

Here is the drivers log file:

==========================================================
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
rmmod: ERROR: Module radeon is in use
Unloading drm module...
rmmod: ERROR: Module drm is in use by: ttm drm_kms_helper radeon
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.18.3-201.fc21.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory '/usr/src/kernels/3.18.3-201.fc21.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6396:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
static int KCL_fpu_save_init(struct task_struct *tsk)
^
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_Slot_No_Hotplug’:
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:845:21: error: ‘struct acpi_device_flags’ has no member named ‘no_hotplug’
tdev->flags.no_hotplug = true;
^
scripts/Makefile.build:257: recipe for target '/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o' failed
make[2]: *** [/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1
Makefile:1385: recipe for target '_module_/usr/lib/modules/fglrx/build_mod/2.6.x' failed
make[1]: *** [_module_/usr/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory '/usr/src/kernels/3.18.3-201.fc21.x86_64'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : dracut
==========================================================

I just rebooted without attempting to configure the card, as per the ATI/AMD warning stating that it's important to do so, because my thinking was derailed due to seeing errors, and the install program said I needed to reboot. Afterall, I just couln't believe that with a "Failed to compile kernel module" error, it would actually keep the changes I'd made, that surely Linux had a failsafe in place for such circumstances. In other words, I'm also a newbie, and just don't know how many hoops of fire one has to jump through to be at peace with linux.

Can anyone please help be get back into my install, I've already set up so many things, there's just got to be a way, right?


Thanks in Advance!


JustAnotherHuman

Recovering After Windows 7 Install: Rescue Cannot Mount Root

I have a dual boot laptop with debian stable & Windows 7.

The HD partitions a
sda1: NTFS for W7
sda2: FAT32 (currently unused)
sda3: linux /boot
sda4: linux ext4, which is LVM with encryption

I've re-installed W7 and now need to recover the MBR & grub menu.

I've booted with the netinst usb in rescue mode, but it fails to mount the root partition /sda4:
"An error occured while mounting the device you entered for your root file system (/dev/sda4) on /target"

and /var/syslog shows:
Code:
rescue-mode: selected root device '/dev/sda4'
umount: cant umount /target: Invalid argument
isofs_fill_super: bread failed, dev=sda4, iso_blknum=16, block=32
EXT2-fs (sda4): error: unable to readsuperblock
EXT3-fs (sda4): error: unable to readsuperblock
rescue: mount: mounting /dev/sda4 on /target failed: Invalid argument

So it seems like something is wrong with the mount command?

Would appreciate suggestions how to solve this.

Thanks