furrbear: (FreeBSD Daemon)
furrbear ([personal profile] furrbear) wrote2008-03-14 06:33 pm

Argggggghhhhh

*head* *desk* *head* *desk* *head* *desk* *head* *desk* *head* *desk*

Another project I've been working on is an email robot. I fixed all the flaws from it being
very old code, using very old versions. But testing is driving me nuts.

If it is invoked via the mail aliases, the GPGme library returns an "Invalid engine"
error.

Here's the entry from etc/mail/aliases:
rosie: /home/rosie/rosie-log, "|/home/rosie/rosie-wrapper"
That chokes.

*BUT*

rosie@yogi:~$ cat /home/rosie/rosie-log | /home/rosie/rosie-wrapper
works fine and mails me the results I expect.

[identity profile] backrubbear.livejournal.com 2008-03-16 02:21 am (UTC)(link)
To add my two pence and 30 seconds of googling, it rather sounds like your program isn't able to find the gpp libraries. This probably means that either something is present in your path/LD_LIBRARY_PATH as rosie that isn't present from the sendmail (equivalent) shell user. Perhaps a little poking with ldd to see if you're missing a dynamic library.