Amy Lee
2008-01-17 14:28:27 UTC
I am running into the error "undefined symbol: strlcpy" when trying to
install several Perl modules (YAML, XML:Parser, XML::Simple, etc.) on a RHEL 3.
From what I have read, it seems that strlcpy is a function that is included with BSD, Solaris, and OSX, but is not in the GNU C Library.
However, I was able to compile these applications on my old Red Hat Linux 8.0 system without any problems, so the strlcpy function must be available in some library. I just can figure out what it is or how to make it available on my new Fedora system. Any ideas?
[edit: Actually, it appears that the modules that I compiled successfully on my old system were older versions that used strcpy instead of strlcpy. Apparently the newer versions use strlcpy instead, so they might not compile on my old system. Also I wanted to add that at least in a couple of places, the file that refers to strlcpy is /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Cwd/Cwd.so]
Amy Lee
install several Perl modules (YAML, XML:Parser, XML::Simple, etc.) on a RHEL 3.
From what I have read, it seems that strlcpy is a function that is included with BSD, Solaris, and OSX, but is not in the GNU C Library.
However, I was able to compile these applications on my old Red Hat Linux 8.0 system without any problems, so the strlcpy function must be available in some library. I just can figure out what it is or how to make it available on my new Fedora system. Any ideas?
[edit: Actually, it appears that the modules that I compiled successfully on my old system were older versions that used strcpy instead of strlcpy. Apparently the newer versions use strlcpy instead, so they might not compile on my old system. Also I wanted to add that at least in a couple of places, the file that refers to strlcpy is /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Cwd/Cwd.so]
Amy Lee