
		othelo
		
		(usa Gentoo)
		
		Enviado em 22/10/2020 - 12:22h 
		Bom dia amigos, estou com o seguinte problema, instalei os drivers e recursos no linux opensuse pra acessar bancos de dados SQL Server.
Usei alguns sites como base para chegar neste ponto:
       
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools?view=sql-server-ver15#SLES
       https://forums.opensuse.org/showthread.php/530344-libcrypto-How-to-install
       https://docs.microsoft.com/pt-br/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for...
o comando sqlcmd esta rodando (aparentemente), após os diversos ajustes feitos
Resultado:
nbT430Erwin:/etc # uname -a
Linux nbT430Erwin 5.3.18-lp152.47-default #1 SMP Thu Oct 15 16:05:25 UTC 2020 (41f7396) x86_64 x86_64 x86_64 GNU/Linux
nbT430Erwin:/etc # sqlcmd 
Microsoft (R) SQL Server Command Line Tool
Version 11.0.1790.0 Linux
Copyright (c) Microsoft Corporation.  All rights reserved.
usage: sqlcmd            [-U login id]          [-P password]
  [-S server or Dsn if -D is provided] 
  [-H hostname]          [-E trusted connection]
  [-N Encrypt Connection][-C Trust Server Certificate]
  [-d use database name] [-l login timeout]     [-t query timeout]
  [-h headers]           [-s colseparator]      [-w screen width]
  [-a packetsize]        [-e echo input]        [-I Enable Quoted Identifiers]
  [-c cmdend]
  [-q "cmdline query"]   [-Q "cmdline query" and exit]
  [-m errorlevel]        [-V severitylevel]     [-W remove trailing spaces]
  [-u unicode output]    [-r[0|1] msgs to stderr]
  [-i inputfile]         [-o outputfile]
  [-k[1|2] remove[replace] control characters]
  [-y variable length type display width]
  [-Y fixed length type display width]
  [-p[1] print statistics[colon format]]
  [-R use client regional setting]
  [-b On error batch abort]
  [-D Dsn flag, indicate -S is Dsn] 
  [-X[1] disable commands, startup script, environment variables [and exit]]
  [-x disable variable substitution]
  [-? show syntax summary]
nbT430Erwin:/etc # 
Mas, ao tentar se conectar em qualquer banco /IP, retorna esta mensagem de erro:
nbT430Erwin:/etc # sqlcmd -S 192.168.1.35 -U sa -P teste123
sqlcmd: symbol lookup error: /opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0: undefined symbol: SSLeay
nbT430Erwin:/etc # 
até o momento não encontrei alguma solução ou idéia de como resolver.
Se pudessem ajudar, fico grato.