LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   undefined symbol: strlcpy (https://www.linuxquestions.org/questions/linux-software-2/undefined-symbol-strlcpy-614015/)

Sagebrush Gardener 01-16-2008 11:08 AM

undefined symbol: strlcpy
 
I am running into the error "undefined symbol: strlcpy" when trying to install several Perl modules (YAML, XML:Parser, XML::Simple, etc.) on a new Fedora Core 8 system.

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]


Greg


All times are GMT -5. The time now is 05:26 AM.