06-05-2014 10:19 AM
I just burned about 3 hours trying to figure out why my code wouldn't compile and run correctly. After diving into the /lib directory I noticed that libz.so was pointing to libz.so.1.2.3, however the only file that was there was libz.so.1.2.7.
I deleted the symlink and pointed it to the libz.so.1 link that was correctly pointing to the libz.so.1.2.7 file.
> cd /lib
> rm libz.so
> ln -s libz.so.1 libz.so
Can someone with a formatted cRIO-9068 confirm that it is shipping like this? I have installed quite a bit of software on mine and I'm not sure if one of those things has tainted this link or if it came this way from NI.
Thanks,
-TD
06-05-2014 10:39 AM
As one data point: I just checked a fresh myRIO installation (bare bones, no additional NI software), and got the following results:
admin@myRIO:~# find / -name "*libz*"
/var/lib/opkg/info/libz1.control
/var/lib/opkg/info/libz1.postinst
/var/lib/opkg/info/libz1.list
/usr/lib/libz.so.1
/usr/lib/libz.so.1.2.7
admin@myRIO:~# readlink -f /usr/lib/libz.so.1
/usr/lib/libz.so.1.2.7
admin@myRIO:~# readlink -f /usr/lib/libz.so
admin@myRIO:~#
Which would tend to rule out the core shipping software from NI having the error. Though, as mentioned -- this is with bare-bones software installed, no add-ons or drivers.
06-05-2014 12:46 PM
JackDunaway,
Can you do this:
> cd /lib
> ls -al *mysql*
To show what the links are to?
Thanks,
-TD