<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>great. thnx for your help thus far. i'm in the midst of tackling the compilation issue. from your response and researching the web i've come across a few questions referring to the cc_command parameter and linking/compiling the shared library. here is what i have done thus far<br><br>1. created a shared library<br>2. installed the shared library under /usr/lib (additionally i tried /usr/local/lib)<br>3. ran /sbin/ldconfig<br><br>i found the following example on the web for the cc_command parameter<br><br>/usr/sbin/varnishd -C -f /etc/varnish/default.vcl -p cc_command="exec cc -fpic -shared -Wl,-x -o %o %s -lssl"<br><br>when running this command i receive an error indicating an undefined symbol which references a function within the openssl
library. i've changed the position of the -lssl option within the cc_command parameter to determine if it has any effect. it doesn't.<br><br>i've also attempted using the -L and -l options to specify the shared library's location and soname, still no progress.<br><br>question is:<br><br>when you have a shared library which requires special gcc command line options to compile which syntax shall i use for the cc_command parameter, the syntax i am using or a variation of the syntax?<br><br>thnx for all your help. - peter<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Tollef Fog Heen <tfheen@varnish-software.com><br><b><span style="font-weight: bold;">To:</span></b> Peter Janovsky <peterjanovsky@yahoo.com><br><b><span
style="font-weight: bold;">Cc:</span></b> Varnish Development <varnish-dev@varnish-cache.org><br><b><span style="font-weight: bold;">Sent:</span></b> Mon, March 29, 2010 3:26:10 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: varnishd -lssl<br></font><br>
]] Peter Janovsky <br><br>| please excuse my ignorance as i haven't worked in C for a while.<br>| where would i find the exec_cc parameter? searching google it<br>| appears the parameter is part of the makefile. i searched the<br>| varnish makefiles but didn't come across the parameter. is this a<br>| parameter i need to add to one of the makefiles, if so which<br>| makefile? thank you.<br><br>You can set it using -p exec_cc="gcc …"<br><br>-- <br>Tollef Fog Heen<br>Varnish Software<br>t: +47 21 54 41 73<br></div></div>
</div><br>
</body></html>