RE: [Clamav-users] Re: sol8 compile problem

2005-05-22 Thread Cocoon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis Peterson
Sent: Sonntag, 22. Mai 2005 06:58
To: ClamAV users ML
Subject: RE: [Clamav-users] Re: sol8 compile problem

Cocoon said:
> Hi Dennis,...
>
> Great it works fine!
>
>
> Greez

Which steps did you complete?

Biz2 was installed, so I use: 

Step1
./configure --disable-bzip2 --prefix=/var/amavis/clamd  
 
Step2
make

Step3
I going to do tonight, if you want I can give you a feedback.




Off the topic and just a bit humorous, I suppose, but the urban definition
of Greez is less than flattering :-)

 1.  greez
The act of deficating; often used in conjunction with doog
Don't go to the bafroom - I just greezed a big ol' doog

Amazing what happens to words when they hit the street, isn't it?

dp
___
http://lurker.clamav.net/list/clamav-users.html

___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Re: sol8 compile problem

2005-05-21 Thread Cocoon
Hi Dennis,...

Great it works fine!


Greez 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis Peterson
Sent: Sonntag, 22. Mai 2005 05:27
To: ClamAV users ML
Subject: RE: [Clamav-users] Re: sol8 compile problem

Cocoon said:
>
> Hi René
>
> Here some output from the commands,.. but its still the same :-(

Just for grins try this:

make clean
configure --disable-bzip2 ... (add any configure option you'd normally add)
make

Have you ever installed bzip on your system? If not you can grab a copy at
sunfreeware.com. You may want to avoid problems with the LD_LIBRARY_PATH
by adding all your critical library paths with the crle utility.

NOTE! Always include existing paths when you use this tool as it replaces
the existing path with what ever you submit and if you leave out the
defaults your system will stop running. The reason I recommend using crle
is that not every account has an LD_LIBRARY_PATH set, and it can create
high levels of astonishment when you build with it and run things without
it being set. The crle tool creates global search paths.

Qualifier: I don't know if this bzip2 issue is your problem (didn't have
time to review your configure log), but it is a frequent problem and is
easily solved by either disabling bzip2 or installing bzip2. You will
finally want bzip2 so I'd recommend you install it if you don't already
have it, and configure clamav to use it.

dp

___
http://lurker.clamav.net/list/clamav-users.html

___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Re: sol8 compile problem

2005-05-21 Thread Cocoon
-bm.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo
dsig.lo str.lo scanners.lo filetypes.lo unrarlib.lo zzip-dir.lo zzip-err.lo
zzip-file.lo zzip-info.lo zzip-io.lo zzip-stat.lo zzip-zip.lo strc.lo
blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo text.lo
ole2_extract.lo vba_extract.lo msexpand.lo pe.lo cabd.lo lzxd.lo mszipd.lo
qtmd.lo system.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo
fsg.lo line.lo untar.lo special.lo binhex.lo is_tar.lo tnef.lo
-R/usr/local/lib -R/usr/local/lib  -lz -lbz2 /usr/local/lib/libgmp.so
-lpthread -lsocket -lnsl -lc
Undefined   first referenced
 symbol in file
BZ2_bzRead  scanners.lo
BZ2_bzReadOpen  scanners.lo
BZ2_bzReadClose scanners.lo
ld: fatal: Symbol referencing errors. No output written to
.libs/libclamav.so.1.0.12
*** Error code 1
make: Fatal error: Command failed for target `libclamav.la'
Current working directory /usr/local/packages/clamav-0.85.1/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/packages/clamav-0.85.1
*** Error code 1
make: Fatal error: Command failed for target `all'












-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of René Berber
Sent: Sonntag, 22. Mai 2005 01:27
To: clamav-users@lists.clamav.net
Subject: [Clamav-users] Re: sol8 compile problem

Cocoon wrote:

> # gcc -print-prog-name=ld
> /usr/ccs/bin/ld

Good.

> # crle -v
> 
> Default configuration file (/var/ld/ld.config) not found
>   Default Library Path (ELF):   /usr/lib  (system default)
>   Trusted Directories (ELF):/usr/lib/secure  (system default)

This is normal, it's the Solaris default.

So your environment is OK.  We still don't know what library is missing, you
could try something like this:

LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/lib
./configure
--prefix=/var/amavis/clamd

(it's all in one line) and see if there are any missing libraries, there
will be
a line that says so.
-- 
René Berber

___
http://lurker.clamav.net/list/clamav-users.html

___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Re: sol8 compile problem

2005-05-21 Thread Cocoon

# gcc -print-prog-name=ld
/usr/ccs/bin/ld
# crle -v

Default configuration file (/var/ld/ld.config) not found
  Default Library Path (ELF):   /usr/lib  (system default)
  Trusted Directories (ELF):/usr/lib/secure  (system default)
#

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of René Berber
Sent: Sonntag, 22. Mai 2005 00:10
To: clamav-users@lists.clamav.net
Subject: [Clamav-users] Re: sol8 compile problem

Cocoon wrote:

> Can you write me exactly what I have to do "syntax" I will do it no
> problem...

Just run the commands in a terminal.

For instance here's the result in one Sparc/Solaris 8 machine:

--- --- --- ---
-bash-3.00$ gcc -print-prog-name=ld
/usr/ccs/bin/ld
-bash-3.00$ crle -v

Configuration file [3]: /var/ld/ld.config
  Default Library Path (ELF):
/usr/local/lib:/opt/gnu/lib:/usr/lib:/usr/local/ssl/lib:/opt/ActiveTcl/lib:/
export/home/apache2/lib:/export/home/apache2/modules
  Trusted Directories (ELF):/usr/lib:/usr/local/ssl/lib:/usr/local/lib

Command line:
  crle -c /var/ld/ld.config \
-l
/usr/local/lib:/opt/gnu/lib:/usr/lib:/usr/local/ssl/lib:/opt/ActiveTcl/lib:/
export/home/apache2/lib:/export/home/apache2/modules
\
-s /usr/lib:/usr/local/ssl/lib:/usr/local/lib
--- --- --- ---

The first command (gcc -print-prog-name=ld) shows which ld is used by gcc,
in my
case is the linker that comes with Solaris dev. tools.

The second command (crle -v) shows the default path used to search for
libraries, similar to setting LD_LIBRARY_PATH but with different paths for
32/64
bit libraries if applicable, the "trusted" path for libraries like SSL that
need
access to restricted resources.

The existence of the required libraries is something configure takes care
of, so
  if you didn't see any complaint from configure you already have all the
requirements.  But it's strange that ld complains while building the clamav
library, so I was asking what messages appeared just before the ones you
showed
in the original message; there should be some names listing what is
missing...
the cause could be as simple as having an old version of some library.

Hope this helps.
-- 
René Berber

___
http://lurker.clamav.net/list/clamav-users.html

___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Re: sol8 compile problem

2005-05-21 Thread Cocoon
Rene

Can you write me exactly what I have to do "syntax" I will do it no
problem...

I'm not so a crack in solaris shell commands, so please support me a
little...

Okay?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of René Berber
Sent: Samstag, 21. Mai 2005 23:01
To: clamav-users@lists.clamav.net
Subject: [Clamav-users] Re: sol8 compile problem

Cocoon wrote:
[snip]
> Which gcc and most important which ld?
> Gcc 3.4.2
> 
> LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:

Could you report the output of "gcc -print-prog-name=ld" ?

Also the output of "crle -v" .

And, the symbols ld is complaining about... that will show us which library
is
missing.  The usual libraries are mp, bz2, z and the usual system libs.

Regards,
-- 
René Berber

___
http://lurker.clamav.net/list/clamav-users.html

___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] sol8 compile problem

2005-05-21 Thread Cocoon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Taroli
Sent: Samstag, 21. Mai 2005 21:33
To: ClamAV users ML
Subject: Re: [Clamav-users] sol8 compile problem

I believe you will find notes in the installation readmes regarding 
solaris in that you must include ABI=32 into the configure string

   ./configure ABI=32 --prefix=

Still the same whit the new config option ABI=32

Bill

Cocoon wrote:

>Hello List,
>
>
>I want to compile the new clamav version 0.85.1 on a solaris 8 system
>
>Whit the command ./configure -prefix=/var/amavis/clamd every thing works
>fine.
>
>Then I make the make an got this error at the end!
>
>Any ideas?
>  
>
___
http://lurker.clamav.net/list/clamav-users.html

___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Re: sol8 compile problem

2005-05-21 Thread Cocoon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of René Berber
Sent: Samstag, 21. Mai 2005 22:16
To: clamav-users@lists.clamav.net
Subject: [Clamav-users] Re: sol8 compile problem

Cocoon wrote:

> I want to compile the new clamav version 0.85.1 on a solaris 8 system
> 
> Whit the command ./configure -prefix=/var/amavis/clamd every thing works
> fine.

Its --prefix .
Yes shure

> Then I make the make an got this error at the end!
> 
> Any ideas?
> 
> gcc and dev tools ar up to date...

Which gcc and most important which ld?
Gcc 3.4.2

LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:

On Solaris it is recommended to use gcc with Sun's ld, that is the way that
gcc
is packaged from sunfreeware.com .  In fact, one version of GNU binutils
botched
the system so bad that I won't install or remove binutils from one system.

> i dont know what can i do more set the path and ld_library_path and fire
up
> the configure command and make make!
> 
> ld: fatal: Symbol referencing errors. No output written to
> .libs/libclamav.so.1.0.11
> *** Error code 1
[snip]

You cut the important part before this, what symbols is ld complaining
about?

Do you use crle?  Try running "crle -v" to see your default library path.
-- 
René Berber

___
http://lurker.clamav.net/list/clamav-users.html

___
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] sol8 compile problem

2005-05-21 Thread Cocoon
Hello List,


I want to compile the new clamav version 0.85.1 on a solaris 8 system

Whit the command ./configure -prefix=/var/amavis/clamd every thing works
fine.

Then I make the make an got this error at the end!

Any ideas?


gcc and dev tools ar up to date...
i dont know what can i do more set the path and ld_library_path and fire up
the configure command and make make!

ld: fatal: Symbol referencing errors. No output written to
.libs/libclamav.so.1.0.11
*** Error code 1
make: Fatal error: Command failed for target `libclamav.la'
Current working directory /usr/local/packages/clamav-0.85.1/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/packages/clamav-0.85.1
*** Error code 1
make: Fatal error: Command failed for target `all'

___
http://lurker.clamav.net/list/clamav-users.html