| 
      
      
      From: Wilhelm K. <ku...@t-...> - 2016-12-31 09:51:45
       | 
| Hi together, I have some challenges to install linux-gpib on Ubuntu 16.04 64bit system. I already installed linux-gpib successfully when I used Ubuntu 14.04 32bit system with the following procedure: 1. Downloading linux-gpib-4.0.2.tar.gz from http://sourceforge.net/projects/linux-gpib/files/ and unzipped it into my $HOME directory. 2. Running: ./configure , make, and sudo make install 3. Adjusting the /etc/gpib.conf to my PCI-GPIB interface card 4. Loading Kernel module via sudo modprobe tnt4882 5. Generating the symbolic link via sudo ln -s /usr/local/lib/libgpib.so.0 libgpib.so.0 6. Run sudo gpib_config --minor 0 I tested my interface with sudo ibtest. I could change the bus staus and could communicate with my digital multimeter. For some reasons I had to change my Ubuntu from 14.04 32bit to 16.04 64bit meaning I had to install my PC again from scratch. Now, I wanted to install linux-gpib again. I downloaded linux-gpib-4.0.3.tar.gz and did the same procedue as described above. Unfortunately I was not successful this time. When I run sudo gpib_config --minor 0 I end up with the error-message: gpib_config: error while loading shared libraries: libgpib.so.0: cannot open shared object file: No such file or directory I tried to check this. I can see the link libgpib.so.0 in the directory linux-gpib-4.0.2/lib and the respective files in the directory /usr/local/lib/. Is there anything else to be considered when using linux-gpib under ubuntu 16.04 64bit? I thank you very much for any hint. I wish you all the best for 2017 and I'm looking forward to hearing from you. Thanks and best regards Wilhelm | 
| 
      
      
      From: Mike M. <mik...@gm...> - 2016-12-31 14:18:49
       | 
| Hi Wilhelm, It might be as simple as running (as root): ldconfig You probably have the file /etc/ld.so.conf.d/libc.conf that contains a line telling ld to look in /usr/local/lib . If none of the files in /etc/ld.so.conf.d contain the line "/usr/local/lib", add it to one or create a new file with it and rerun ldconfig. Good luck and Happy New Year, Mike On 12/31/2016 04:51 AM, Wilhelm Kusian wrote: > [...] > > When I run sudo gpib_config --minor 0 I end up with the error-message: > gpib_config: error while loading shared libraries: libgpib.so.0: cannot > open shared object file: No such file or directory > > I tried to check this. I can see the link libgpib.so.0 in the directory > linux-gpib-4.0.2/lib and the respective files in the directory > /usr/local/lib/. > > Is there anything else to be considered when using linux-gpib under > ubuntu 16.04 64bit? > > I thank you very much for any hint. > > I wish you all the best for 2017 and I'm looking forward to hearing from > you. > > Thanks and best regards > Wilhelm | 
| 
      
      
      From: Wilhelm K. <ku...@t-...> - 2016-12-31 16:03:15
       | 
| Hi Mike and Marcello, thanks a lot. Your hint was the solution. I run sudo ldconfig and now everything is as before my upgrade to Ubuntu 16.04. The interface works and I could again communicate with my digital multimeter. Best regards and happy new year Wilhelm | 
| 
      
      
      From: marcello c. <ca...@fi...> - 2016-12-31 14:25:47
       | 
| On 12/31/2016 10:51 AM, Wilhelm Kusian wrote: > Hi together, > > I have some challenges to install linux-gpib on Ubuntu 16.04 64bit system. > > I already installed linux-gpib successfully when I used Ubuntu 14.04 > 32bit system with the following procedure: > 1. Downloading linux-gpib-4.0.2.tar.gz from > http://sourceforge.net/projects/linux-gpib/files/ and unzipped it into > my $HOME directory. > 2. Running: ./configure , make, and sudo make install > 3. Adjusting the /etc/gpib.conf to my PCI-GPIB interface card > 4. Loading Kernel module via sudo modprobe tnt4882 > 5. Generating the symbolic link via sudo ln -s > /usr/local/lib/libgpib.so.0 libgpib.so.0 > 6. Run sudo gpib_config --minor 0 > > I tested my interface with sudo ibtest. I could change the bus staus and > could communicate with my digital multimeter. > > For some reasons I had to change my Ubuntu from 14.04 32bit to 16.04 > 64bit meaning I had to install my PC again from scratch. > > Now, I wanted to install linux-gpib again. I downloaded > linux-gpib-4.0.3.tar.gz and did the same procedue as described above. > Unfortunately I was not successful this time. > > When I run sudo gpib_config --minor 0 I end up with the error-message: > gpib_config: error while loading shared libraries: libgpib.so.0: cannot > open shared object file: No such file or directory Is /usr/local/lib among the library directories to be searched? (in debian-8.x maybe in /etc/ld.so.conf.d/libc.conf). And, after 'make install', a 'sudo ldconfig' or a reboot is required to make the new library known. Good luck and happy new year. marcello > > I tried to check this. I can see the link libgpib.so.0 in the directory > linux-gpib-4.0.2/lib and the respective files in the directory > /usr/local/lib/. > > Is there anything else to be considered when using linux-gpib under > ubuntu 16.04 64bit? > > I thank you very much for any hint. > > I wish you all the best for 2017 and I'm looking forward to hearing from > you. > > Thanks and best regards > Wilhelm > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general -- Marcello Carla' - ca...@fi... University of Florence - Dept. of Physics Via G. Sansone 1 - I 50019 Sesto F. (Firenze) Italy Tel.: 39 055 457 2055/2013/2060 |