segmentation fault in example program subexpr

Linux specific questions.
Post Reply
Rudiger
Posts: 93
Joined: Mar 17, 2006 3:54
Location: florida, massachusetts, southwest airlines
Contact:

segmentation fault in example program subexpr

Post by Rudiger »

./subexpr
Full: path/name.ext
Path: Segmentation fault

This occurs on a Mepis (debian) system.

"error while loading shared libraries: libtre.so.4: cannot open shared object file: No such file or directory" occured on compile,

so I installed debian package libtre4_0.7.2-1_i386.deb.
got clean compile, but segmentation fault occurs, apparently in the regexpr routine. The program works fine on winDoh!z

Any suggestions?
tunginobi
Posts: 655
Joined: Jan 10, 2006 0:44
Contact:

Post by tunginobi »

Similar behaviour under Ubuntu, with the same library and version, except it didn't segfault: it just hung and used up a lot of the processor until I killed it.

It does, however, segfault for the two other examples I could compile (the last one wanted another lib).
Post Reply