I am generally very happy with the functionality of this tool - great job.
However I have a requirement to run the packaged executable on an older Centos 5.7 system, which only supports an older GLIBC.
So after creating the executable there is a dependency on a newer GLIBC
I tried to build freewrap from source on the Centos5.7 machine
I successfully built tcl/tk-8.6.2 and also built zip30 from info-zip @ sourcforge,
but when I attempt to run make in the linux64 directory I get the following error
linux64/../generic/zipmain.c:244: error: 'path_prefix undeclared (first use in this functions)
I grepped through all of the source, and can only find a reference to 'path_prefix' in this file itself, so I am totally confused.
Could I make a request to build freewrap with an earlier GLIBC dependancy, or provide some more details about how to rebuild from source
Many thx
Lee Moore
Anonymous
Actually one further thought on this issue.
I am guessing if you make all the libraries available, all I would need to do is relink the executables on the target machine, it would then use the GLIBC version for that machine.
I see that only the archive libraries are referenced, therefore there should be no dependancy on the version of GLIBC I think
Thx
Lee
It doesn't look like this works. When I tried this, the object modules required the same GLIBC that they were compiled against.
I installed Centos 5.11 (DVD ISOs of 5.7 don't seem to be available) and compiled freeWrap 6.63 using the TCL/TK 8.6.2 sources.
I successfully built freeWrap using the build instructions in the freeWrap documentation. I did need to take a minor detour to add a few symbolic links in the /usr/lib64 directory. The symbolic links for the X11 libraries were a bit non-standard under Centos 5.11.
I did not encounter the error message you mentioned above. However, I used the zip31c package, as required by the build documentation, while you used zip30. You must use zip31c in order to be successful.
Hi Dennis
Thanks for the info.
I think the root cause of my issues is that I expected to find the build instructions in the source directory, I didnt think to look in the freewrap.pdf. So I started to deconstruct the Makefile to try to work out what it was expecting to see installed as its pre-requisites :-(
Following the pdf instructions I managed to rebuild from source, I ommitted some of the additional packages such as sqlite, and the associated TCL DB packages, these are not required for my application.
I have tested on my target system, and now the wrapped executable only requests GLIBC_2.5, which is exactly what I wanted - perfect !
Many Thx
Lee