"databases/mysql55-server"를 5.5.55에서 5.5.56으로 업그레이드하려고 합니다.
내가 받은 오류는 다음과 같습니다. 최근에 readline을 버전 7로 업그레이드했습니다.
이 혼란을 해결하려면 어떻게 해야 할지 아시나요?
$ sudo portmaster -r mysql55-server-5.5.55
===>>> Working on:
mysql55-server-5.5.55
===>>> Gathering distinfo list for installed ports
===>>> mysql55-server-5.5.55 1/1
===>>> Currently installed version: mysql55-server-5.5.55
===>>> Port directory: /usr/ports/databases/mysql55-server
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
===>>> Launching 'make checksum' for databases/mysql55-server in background
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
===>>> Gathering dependency list for databases/mysql55-server from ports
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
===>>> Launching child to update mysql55-client-5.5.55 to mysql55-client-5.5.56
===>>> mysql55-server-5.5.55 1/1 >> mysql55-client-5.5.55 (1/1)
===>>> Currently installed version: mysql55-client-5.5.55
===>>> Port directory: /usr/ports/databases/mysql55-client
===>>> Launching 'make checksum' for databases/mysql55-client in background
===>>> Gathering dependency list for databases/mysql55-client from ports
===>>> Initial dependency check complete for databases/mysql55-client
===>>> Initial dependency check complete for databases/mysql55-server
===>>> Checking ports that depend on mysql55-server-5.5.55
===>>> Checking done for ports that depend on mysql55-server-5.5.55
===>>> Total ports: 1 >> (1)
===>>> The following actions will be taken if you choose to proceed:
Upgrade mysql55-server-5.5.55 to mysql55-server-5.5.56
Upgrade mysql55-client-5.5.55 to mysql55-client-5.5.56
===>>> Proceed? y/n [y]
답변1
여러 가지 가능성. 첫 번째 제안은 패키지에서 설치된 버전을 사용하는 것입니다. 여기에는 readline과 MySQL이 포함됩니다. 하지만 소스 포트를 사용해야 하거나 사용하고 싶다면 다음을 수행하세요.
먼저 포트 트리를 다운로드 portsnap fetch extract
하거나, 이미 가지고 있는 경우 portsnap fetch update
최신 버전으로 업데이트하세요.
그런 다음 관련 디렉토리(/usr/ports/databases/mysql55-server)로 이동하여 다시 빌드하고 다시 설치하십시오. make clean all deinstall reinstall
./usr/ports/databases/mysql55-client에 대해 동일한 작업을 반복할 수 있습니다. 그러면 libreadline을 포함하여 설치된 라이브러리에 연결됩니다.