This last patch might work correctly:

-- Found GSSAPI:
/usr/lib64/heimdal/libgssapi.so;/usr/lib64/heimdal/libkrb5.so;/usr/lib64/heimdal/libhcrypto.so;/usr/lib64/libcom_err.so;/usr/lib64/heimdal/libheimntlm.so;/usr/lib64/heimdal/libhx509.so;/usr/lib64/heimdal/libasn1.so;/usr/lib64/heimdal/libwind.so;/usr/lib64/heimdal/libroken.so;/usr/lib64/heimdal/libhdb.so

only this message on linking:

100%] Built target openvas_wincmd
/usr/bin/ld: warning: libkrb5.so.3, needed by /lib64/libssl.so.10, may
conflict with libkrb5.so.26
[100%] Built target winexe
/usr/bin/ld: warning: libkrb5.so.3, needed by /lib64/libssl.so.10, may
conflict with libkrb5.so.26
[100%] Built target wmic

I am not sure if build works? How to test this openvas-smb?

--
Eero


2015-04-14 17:56 GMT+03:00 Andre Heinecke <aheine...@intevation.de>:

> Hi,
>
> On Tuesday, April 14, 2015 05:38:28 PM Eero Volotinen wrote:
> > I mean that I always do:
> >
> > rm -fr build && mkdir build .. and so on
>
> Ok, thought so but just wanted to make sure ;-)
>
> > This sounds like nice bug with find_library?
>
> Unlikely
>
> > Possibly happends only in RHEL where is it possible to have
> > mit gss and heimdal in different paths at same time. It possibly still
> > tries "/usr/lib64" before path "/usr/lib64/heimdal"
>
> Nope this is also the case on debian based systems like my ubuntu
> with heimdal-multidev or libkrb5-multidev. I have:
> /usr/lib/x86_64-linux-gnu/libkrb5.so -> mit-krb5/libkrb5.so
> /usr/lib/x86_64-linux-gnu/heimdal/libkrb5.so -> ../libkrb5.so.26.0.0
>
> And it works.
>
> > Any ideas how to fix this?
>
> Not really. I'd have to do some hands on debugging. Attached Patch
> could help. (Sets NO_DEFAULT_PATH in case both heimdal and MIT are
> installed
> and heimdal-config is used.) But it should not be necessary.
>
> > set(CMAKE_PREFIX_PATH "/usr/lib64/heimdal") works as there is no 32bit
> > version of RHEL 7
>
> Well it's a workaround at least.
>
> --
> Andre Heinecke |  ++49-541-335083-262  |  http://www.intevation.de/
> Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B
> 18998
> Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
>
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to