LiveCode Server on CentOS 6?

Warren Samples warren at warrensweb.us
Wed Aug 1 16:56:50 EDT 2018


On 08/01/2018 01:45 AM, Keith Clarke via use-livecode wrote:
>   whether the issues are down to glibc version dependencies is beyond me.

You can check this by running

     ldd [/path/to/livecode-server]


It will return a list that looks something like this (from my desktop 
system):

         linux-vdso.so.1 (0x0000631efbacc000)
         libdl.so.2 => /usr/lib/libdl.so.2 (0x0000631efb6a6000)
         libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000631efb488000)
         libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 
(0x0000631efb245000)
         libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0000631efaf7c000)
         librt.so.1 => /usr/lib/librt.so.1 (0x0000631efad74000)
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000631efa9eb000)
         libm.so.6 => /usr/lib/libm.so.6 (0x0000631efa656000)
         libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000631efa43e000)
         libc.so.6 => /usr/lib/libc.so.6 (0x0000631efa082000)
         /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 
(0x0000631efb8aa000)
         libexpat.so.1 => /usr/lib/libexpat.so.1 (0x0000631ef9e50000)
         libuuid.so.1 => /usr/lib/libuuid.so.1 (0x0000631ef9c49000)
         libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x0000631ef9a39000)
         libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000631ef9803000)
         libz.so.1 => /usr/lib/libz.so.1 (0x0000631ef95ec000)
         libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x0000631ef9340000)
         libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0000631ef9029000)
         libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 
(0x0000631ef8dfd000)
         libpcre.so.1 => /usr/lib/libpcre.so.1 (0x0000631ef8b8b000)


Don't worry about the first line where there is no returned path. Some 
systems may return those like this "linux-vdso.so.1 => 
(0x00007fff6ffff000)" with the memory location after a "=>". There may 
be one or two of those. What's important is that if something is not 
found or is found but in a mismatched version, you will see an explicit 
message stating as much, like so:

libfontconfig.so.1 => not found

If you try running 64bit LC-server on a 32bit machine or 32bit Server on 
a 64 bit machine without any of the 32 bit libs, you will probably see 
the message that the file is not a dynamic executable.

Here's a little bit about ldd that you and others might find helpful:

https://www.lifewire.com/find-shared-libraries-ldd-command-4017941

https://circleci.com/blog/tracking-dependencies-with-ldd/

https://circleci.com/blog/tracking-dependencies-with-ldd/



Good luck!

Warren




More information about the use-livecode mailing list