Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot found libnipalu.so

Hi everybody,

well I am trying to use a USB-6008 device under linux, more precisely the Mandriva 2006.

First I tryed to install the Nidaqmx-base 2.0, but I finaly gave up since nidaqmx-base seems to need hotplug which is not the standard anymore under mandriva 2006 (this is udev) and conflict.

So I removed the nidaqmx-base and installed the NIdaqMX8.0 which is certified for mandriva linux 2006.

The installation process went perfectly (it seems) but now I have to face the following problem:

if I run /usr/local/natinst/nidaqmx/bin/nilsdev to enumerate my devices, it complains that it cannot found libnipalu.so.1 . The problem is that this lib is absolutely nowhere on my system. I ran ldconfig and now I got if I look in /usr/local/lib where all the libni* are located I can see a link going from libnipalu.so to libnipalu.so.1, but the latter doesn't exist.

Did someone succeeded in installing NIDAQMX8.0 (or the -base one?).

Any help would be greatly appreciated since I have really no idea the reason why I am missing this file. Google has no answer..

Thank you really much in advance.
0 Kudos
Message 1 of 7
(3,658 Views)
Normally if you run ls -l libnipalu.so* in /usr/local/lib/ you should see something like:

lrwxrwxrwx 1 root root 29 2006-04-10 10:51 libnipalu.so -> /usr/local/lib/libnipalu.so.1
lrwxrwxrwx 1 root root 34 2006-04-10 10:51 libnipalu.so.1 -> /usr/local/lib/libnipalu.so.1.11.0
lrwxrwxrwx 1 root root 48 2006-04-10 10:51 libnipalu.so.1.11.0 -> /usr/local/natinst/nipal/lib/libnipalu.so.1.11.0

It sounds like you have the libnipalu.so link, but the rest are gone.  As you can see from above, the real copy should be in /usr/local/natinst/nipal/lib/ though the version may be something different.  If /usr/local/natinst/nipal/lib/libnipalu.so.1* exists then you can just create the link in /usr/local/lib and run ldconfig. If it doesn't exist you should try uninstalling, and reinstalling NI-DAQmx.

Shawn B.
National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 7
(3,655 Views)
OK, right after I posted I realized that you are trying to use the USB-6008.  the USB DAQ devices are currently not supported by NI-DAQmx 8.0, and are only supported by NI-DAQmx Base.  Of course you are correct that NI-DAQmx Base 2.0 requires hotplug, and Mandriva only has udev.  So... In order to use your USB-6008 you will need to use a distribution that has hotplug.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 3 of 7
(3,655 Views)
Hi Shawn,
Thank you very much for your reply.

Well, I must confess I didn't notice that my USB-6008 was not supported by the NiDAQMX8...

Ok, so in order to use this device, I have to revert to another linux system and use nidaqmax-base. In the readme of the nidaqmx-base 2.0, it is said that "Mandrakelinux 10.1 Official" is supported.

I would like to ask you whether you personnaly tested this configuration. Indeed, I am in doubt since it is said in the documentation of the "Mandrakelinux 10.1 Official" that "Udev is now the default device manager".

I am really not a specialist of linux, so I am confused. Do you think that the above sentence means that hotplug is already no more compatible with Mandrakelinux 10.1? In this case, I don't see why it would work with mandrakelinux 10.1 if it doesn't work with Mandriva2006, which seems to be not so different (new kernel essentially as far as I can see).

Before reverting to mandrakelinux 10.1 to install nidaqmx-base 2.0, I would really appreciate a confirmation that this would work for my UBS-6008.

Thank you very much in advance.
0 Kudos
Message 4 of 7
(3,648 Views)
Hey Mandawah,

The key to the "Udev is now the default device manager" statement is the "default" part.  Mandrake 10.1 official still has and uses hotplug, it just uses udev by default.  Mandriva 2006 however, does not include hotplug at all.

I "personally" have never used a USB-6008 on Mandrake 10.1 official with DAQmx Base 2.0.  Rest assured though that if it is in the supported distributions list of the README, then the DAQ team here at National Instruments has run numerous automated, and hand tests before claiming support.

Let me know if you have any other questions, or if you run into any problems.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 5 of 7
(3,644 Views)
Hi Shawn,

sorry for replying late.

Well we decided to keep on with our Mandriva 2006, but using a NI pci 6221 instead of the USB 6008, so that we stay with NIDAQMX8.

I unistalled the non working version and removed any remaining file by hand. Then I did again a clean install. Now everything is perfectly fine, everything is working perfect.

The thing that causes my initial problem with the libnipalu is probably that the uninstaller of NIDAQMAX-base-2 left some links or files in /usr/local/lib that confused the installer of the NIDAQMX8.

Thank again you for your help.
0 Kudos
Message 6 of 7
(3,608 Views)
Hey Mandawah,

Thanks for the update.  I'm glad that everything is working for you now.  We are aware of the broken links that are left in /usr/local/lib, and will be fixing that problem in a future release.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 7 of 7
(3,590 Views)