I want to create this function:<br /><div style="margin-left:40px;font-family:courier new,monospace">CREATE OR REPLACE
FUNCTIONmyfunction(cstring)<br />RETURNS cstring AS<br /> '$libdir/mylib','myfunction'<br /> LANGUAGE 'C' IMMUTABLE
STRICT;<br/></div><br />In windows this is working fine and $libdir is substituted by the actual path. In linux it is
notsubstituted!<br />This is the error I get:<br /><div style="margin-left: 40px; font-family: courier new,monospace;">
ERROR: could not access file "$libdir/mylib": No such file or directory<br />SQL state: 58P01<br /></div><br />How do I
fixit?