happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
9.04k stars 1.99k forks source link

undefined symbol: fc_safe_write #311

Open runnerJiang opened 5 years ago

runnerJiang commented 5 years ago

fastfds版本: v5.11,libfastcommon版本:1.0.39 service fdfs_storaged start启动storage报错: [2019-07-12 14:26:18] INFO - FastDFS v5.11, base_path=/usr/data/fastdfs/storage_data, store_path_count=1, subdir_count_per_path=256, group_name=group1, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=23000, bind_addr=, client_bind=1, max_connections=256, accept_threads=1, work_threads=4, disk_rw_separated=1, disk_reader_threads=1, disk_writer_threads=1, buff_size=256KB, heart_beat_interval=30s, stat_report_interval=60s, tracker_server_count=1, sync_wait_msec=50ms, sync_interval=0ms, sync_start_time=00:00, sync_end_time=23:59, write_mark_file_freq=500, allow_ip_count=-1, file_distribute_path_mode=0, file_distribute_rotate_count=100, fsync_after_written_bytes=0, sync_log_buff_interval=10s, sync_binlog_buff_interval=10s, sync_stat_file_interval=300s, thread_stack_size=512 KB, upload_priority=10, if_alias_prefix=, check_file_duplicate=0, file_signature_method=hash, FDHT group count=0, FDHT server count=0, FDHT key_namespace=, FDHT keep_alive=0, HTTP server port=8888, domain name=, use_access_log=0, rotate_access_log=0, access_log_rotate_time=00:00, rotate_error_log=0, error_log_rotate_time=00:00, rotate_access_log_size=0, rotate_error_log_size=0, log_file_keep_days=0, file_sync_skip_invalid_record=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s /usr/bin/fdfs_storaged: symbol lookup error: /usr/bin/fdfs_storaged: undefined symbol: fc_safe_write

runnerJiang commented 5 years ago

centos版本:CentOS 7.4 64位

happyfish100 commented 5 years ago

需要重新编译和安装最新的libfastcommon。

runnerJiang commented 5 years ago

谢谢余大,问题解决👍