ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 8 installation on Ubuntu, libdb.so.2

Hi Shawn!

<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><meta name="GENERATOR" content="OpenOffice.org 2.3 (Linux)">First of all, let me thank you for all the help! I am a bit excited, as your help proved to be effective (Yet, I haven't tested it thoroughly).

Here's what I did:

First I created a symbolic link to libLVMesaGL.so.3:
ln -s /usr/local/natinst/LabVIEW-8.0/linux/libLVMesaGL.so.3

It didn't work out, so I simply went to Nautilus, copied libLVMesaGL.so.3 (in /usr/local/natinst/LabVIEW-8.0/linux/) to the same place and renamed it to libOSMesa.so.4.

I hope this can help others with the same problem!

See ya!

P.S. - I am using Gutsy Gibbon (Ubuntu 7.10)

0 Kudos
Message 21 of 28
(12,855 Views)
Ok. I decided to make a short summary on what I did with all the help u guys gave.

Credits should go on:
Shawn B.
omvargas

Special thanks are due to to all the others that contributed to this thread!

Installing Labview 8.0 on Gusty Gibbon (Ubuntu 7.10):

1) On terminal window, install libdb1-compat:
sudo apt-get install libdb1-compat

2) Install Labview 8.0 from its install directory with default installation directories:
./INSTALL

Now the following may contain redundant steps, but worked fine for me:

3) cd /usr/local/natinst/LabVIEW-8.0/linux

(instead of step 4a u can try step 4b)

4a) cp libLVMesaGL.so.3 libOSMesa.so.4
4b) ln -s libLVMesaGL.so.3 libOSMesa.so.4

5) mkdir -p /usr/local/lib/linux/

6) cd /usr/local/lib/linux

7) ln -s /usr/local/natinst/LabVIEW-8.0/linux/libLVMesaGL.so.3
😎 ln -s /usr/local/natinst/LabVIEW-8.0/linux/libOSMesa.so.4

I suppose step 7 is redundant and that step 4a can be replaced by 4b, but this is how I orginally made it and it worked out for me.

Hope this helps!

Cheers! 😉

Message Edited by dmontalvao on 10-31-2007 06:16 PM

Message Edited by dmontalvao on 10-31-2007 06:18 PM

0 Kudos
Message 22 of 28
(12,853 Views)
Hi.
This is a link to a page that explain how to install labview 8.2 with ubuntu 7.04. The method is ok for labview 8.5 and ubuntu 7.10, too.
Perhaps it can run for labview 8.0.

LINK

Hope it helps.

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 23 of 28
(12,767 Views)


Escrito por dmontalvao:
Ok. I decided to make a short summary on what I did with all the help u guys gave.

Credits should go on:
Shawn B.
omvargas

Special thanks are due to to all the others that contributed to this thread!

Installing Labview 8.0 on Gusty Gibbon (Ubuntu 7.10):

1) On terminal window, install libdb1-compat:
sudo apt-get install libdb1-compat

2) Install Labview 8.0 from its install directory with default installation directories:
./INSTALL

Now the following may contain redundant steps, but worked fine for me:

3) cd /usr/local/natinst/LabVIEW-8.0/linux

(instead of step 4a u can try step 4b)

4a) cp libLVMesaGL.so.3 libOSMesa.so.4
4b) ln -s libLVMesaGL.so.3 libOSMesa.so.4

5) mkdir -p /usr/local/lib/linux/

6) cd /usr/local/lib/linux

7) ln -s /usr/local/natinst/LabVIEW-8.0/linux/libLVMesaGL.so.3
😎 ln -s /usr/local/natinst/LabVIEW-8.0/linux/libOSMesa.so.4

I suppose step 7 is redundant and that step 4a can be replaced by 4b, but this is how I orginally made it and it worked out for me.

Hope this helps!

Cheers! 😉

Message Edited by dmontalvao on 10-31-2007 06:16 PM

Message Edited by dmontalvao on 10-31-2007 06:18 PM


this worked for me on ubuntu 7.10
thank you
0 Kudos
Message 24 of 28
(12,585 Views)
I look forward to an official LabView Linux release that supports Ubuntu  - arguably one of the most popular and successful Linux distributions.  

In the meantime,  the "hacks" described above have given me hope!

Although I would be more than happy to run LabView under RedHat, SuSe, or Mandriva ...but I have not been able to get more than a few minutes into the install process of any of these three without system lockups.  The system, by the way, is an old Dell Optiplex (500 Mhz PIII) - a neccesary evil because my NI A/D board is ISA bus.  Ubuntu, on the other hand, installs and works like a dream.



Ally my best,

Horst


Gothenburg University
0 Kudos
Message 25 of 28
(12,372 Views)

Labview 8.5 installed fine on x86 machines running Ubuntu Intrepid, but AMD64 machines ran into problems: "error while loading shared libraries: libz.so.1"

 

Installing the 32 bit compatibility libraries listed here solved the issue:

https://answers.launchpad.net/ubuntu/+question/47295

 

In summary: 

sudo aptitude install ia32-libs lib32asound2 util-linux libc6-i386

0 Kudos
Message 26 of 28
(10,125 Views)

I have it installed and running here.  I've only tested it with a simple vi.  I'll note some of the steps I took in case it might help someone. Stuff in bold is commands I gave at the terminal.List isn't complete.  I wouldn't do it this way again, but I thought y'all might like to have a laugh at my expense.

 

sudo apt-get install libdb1-compat

Why the heck not?

mv Desktop/LabVIEWProDevSys_Linux.zip LabVIEW/
cd LabVIEW/unzip LabVIEWProDevSys_Linux.zip
sudo apt-get install rpm

This, I later found to be unnecessary.

sudo ./INSTALL

Blargh!

chmod +x INSTALL

sudo ./INSTALL

What the are you complaining about now? What the heck is rpmq?
sudo apt-get install rpmq

Nothing

apt-cache search rpmq

Nobody knows.

sudo ./INSTALL

ls

ls bin/
cd bin/
ls

Aha!

chmod +x cpio rpmq rpm2cpio rpm

Is that an install script I see or instructions?
cat INSTALL.norpm

Inconclusive, may as well try and run it.

chmod +x INSTALL.norpm

./INSTALL.norpm

Sad day 😞

cd ..
./INSTALL

Blargh!

sudo ./INSTALL

 

It did complain a lot even, on the final install attempt.  It didn't install any Icons.  But when I invoked "labview" from the command line it fired up. I built and ran a simple vi, as a test, without problems.


System is Ubuntu 8.04 Hardy I'm still stuck on  2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux for the moment.

LabView 6.2 for Linux running on Ubuntu (Debian) with 2.6 Kernel
Labview 8.0 for Windows running on XP, IMAQ 3.6.0, NI-1428, NI-1430, NI Camera Link I/O Ext Board
0 Kudos
Message 27 of 28
(10,014 Views)
All, you may be receiving an rpmq file not found error. If you follow Sheng Bao's installation instructions, you will be unable to launch LabVIEW.

On my system, I was using LabVIEW 8.6 with Ubuntu 8.10 on a 64-bit machine. I was unable to get the installer script going, and I was unable to launch LabVIEW after a manual install.

I did some digging, and found out that if you install ia32-libs then you should be okay.


$ apt-get install rpm alien
$ apt-get ia32-libs
$ ./INSTALL

voila. LabVIEW works!

You will still need to install NI-VISA using the following (untested, taken from http://narnia.cs.ttu.edu/drupal/node/62)

cd NI-VISA
mkdir ~/nivisa
tar zxfv NICVISA_.TZ -C ~/nivisa
cd ~/nivisa/nicvirte
sudo rpm -ivh nicvirte-8.0-7.i386.rpm --nodeps
cd ../nikal
sudo rpm -ivh nikali-1.8.0-f0.noarch.rpm --nodeps
cd ../nipal/
sudo rpm -ivh nipalki-2.3.0-f1.x86_64.rpm --nodeps
sudo rpm -ivh nipali-2.3.0-f1.i386.rpm --nodeps
cd ../nivisa/
sudo rpm -ivh nivisak-4.4.0-f0.x86_64.rpm --nodeps
sudo rpm -ivh nivisa-4.4.0-f0.i386.rpm --nodeps
sudo rpm -ivh nivisaserver-4.4.0-f0.i386.rpm --nodeps
sudo rpm -ivh nivisa-config-4.4.0-f0.i386.rpm --nodeps

0 Kudos
Message 28 of 28
(9,686 Views)