This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATH setting in compiled apps


I'm compiling an amanda backup application.  The executables are
going into a directory /usr/local/lib/amanda.  I've not determined
where it is occuring, but it appears the apps are setting PATH
with their own directory prepended to the PATH.

However, the PATH to which c:\cygwin\usr\local\lib\amanda is
prepended is not my system wide environment PATH.  I.e. it does
not contain c:\cygwin\bin.  Just some of the windows system dirs.

The result is that when the app is started by inetd, I get a
windows popup error about a missing cygwin1.dll.  If I copy the
dll to the amanda executable directory (in the PATH reported 
in the popup) it runs fine.  Two cygwin1.dll's are certainly
not desireable.  And symlinks to the single dll did not work.

I will continue to check the amanda source for a problem.

However, in case there is something about compiliing cygwin
apps I'm missing, or in the way cygwin's inetd works I'm
missing, I'll ask if anyone has an idea?

-- 
Jon H. LaBadie                  jcyg@jgcomp.com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]